rust/src/test/ui/short-error-format.rs
2018-12-25 21:08:33 -07:00

10 lines
137 B
Rust

// compile-flags: --error-format=short
fn foo(_: u32) {}
fn main() {
foo("Bonjour".to_owned());
let x = 0u32;
x.salut();
}