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

10 lines
137 B
Rust
Raw Normal View History

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