rust/tests/ui/short-error-format.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
138 B
Rust
Raw Normal View History

2018-03-31 22:10:34 +00:00
//@ compile-flags: --error-format=short
2017-09-16 17:24:08 +00:00
fn foo(_: u32) {}
fn main() {
foo("Bonjour".to_owned());
let x = 0u32;
x.salut();
}