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

10 lines
138 B
Rust
Raw Normal View History

//@ 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();
}