rust/src/test/ui/mir-unpretty.rs
2018-12-25 21:08:33 -07:00

6 lines
96 B
Rust

// compile-flags: -Z unpretty=mir
fn main() {
let x: () = 0; //~ ERROR: mismatched types
}