diff options
Diffstat (limited to 'src/test/ui/diagnostic-width/non-whitespace-trimming.rs')
-rw-r--r-- | src/test/ui/diagnostic-width/non-whitespace-trimming.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/diagnostic-width/non-whitespace-trimming.rs b/src/test/ui/diagnostic-width/non-whitespace-trimming.rs new file mode 100644 index 000000000..f6c8d345c --- /dev/null +++ b/src/test/ui/diagnostic-width/non-whitespace-trimming.rs @@ -0,0 +1,6 @@ +// ignore-tidy-linelength + +fn main() { + let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = 42; let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = (); +//~^ ERROR mismatched types +} |