summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-28105.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-28105.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-28105.stderr b/src/test/ui/issues/issue-28105.stderr
new file mode 100644
index 000000000..42ed838d7
--- /dev/null
+++ b/src/test/ui/issues/issue-28105.stderr
@@ -0,0 +1,15 @@
+error[E0268]: `continue` outside of a loop
+ --> $DIR/issue-28105.rs:4:5
+ |
+LL | continue
+ | ^^^^^^^^ cannot `continue` outside of a loop
+
+error[E0268]: `break` outside of a loop
+ --> $DIR/issue-28105.rs:6:5
+ |
+LL | break
+ | ^^^^^ cannot `break` outside of a loop
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0268`.