rust/tests/ui/unpretty/mir-unpretty.rs

6 lines
97 B
Rust

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