rust/tests/ui/short-error-format.rs
2024-02-16 20:02:50 +00:00

10 lines
138 B
Rust

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