summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-1962.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-1962.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-1962.stderr b/src/test/ui/issues/issue-1962.stderr
new file mode 100644
index 000000000..4c32a4cf3
--- /dev/null
+++ b/src/test/ui/issues/issue-1962.stderr
@@ -0,0 +1,10 @@
+error: denote infinite loops with `loop { ... }`
+ --> $DIR/issue-1962.rs:6:5
+ |
+LL | 'a: while true {
+ | ^^^^^^^^^^^^^^ help: use `loop`
+ |
+ = note: requested on the command line with `-D while-true`
+
+error: aborting due to previous error
+