summaryrefslogtreecommitdiffstats
path: root/tests/ui/short-error-format.rs
blob: acba4674a4d6d2da6a8bed8e10abda6aec1fa7c0 (plain)
1
2
3
4
5
6
7
8
9
// compile-flags: --error-format=short

fn foo(_: u32) {}

fn main() {
    foo("Bonjour".to_owned());
    let x = 0u32;
    x.salut();
}