rust/tests/ui/unpretty/mir-unpretty.rs
2024-02-16 20:02:50 +00:00

6 lines
97 B
Rust

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