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