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

10 lines
138 B
Rust

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