X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tests%2Fui%2Funpretty%2Fmir-unpretty.rs;fp=tests%2Fui%2Funpretty%2Fmir-unpretty.rs;h=30620c69feae305756fe3395990c9f0acf2506d5;hb=26c9e740979f0063790cbc37e8c490da76ec0743;hp=0000000000000000000000000000000000000000;hpb=e1ed88c81f28226936b0f9d0358d45bb02563e4f;p=rustc.git diff --git a/tests/ui/unpretty/mir-unpretty.rs b/tests/ui/unpretty/mir-unpretty.rs new file mode 100644 index 0000000000..30620c69fe --- /dev/null +++ b/tests/ui/unpretty/mir-unpretty.rs @@ -0,0 +1,5 @@ +// compile-flags: -Z unpretty=mir + +fn main() { + let x: () = 0; //~ ERROR: mismatched types +}