summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/issue-73541-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/async-await/issue-73541-2.stderr')
-rw-r--r--src/test/ui/async-await/issue-73541-2.stderr18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/ui/async-await/issue-73541-2.stderr b/src/test/ui/async-await/issue-73541-2.stderr
new file mode 100644
index 000000000..4c9741f6f
--- /dev/null
+++ b/src/test/ui/async-await/issue-73541-2.stderr
@@ -0,0 +1,18 @@
+error[E0767]: use of unreachable label `'a`
+ --> $DIR/issue-73541-2.rs:7:26
+ |
+LL | 'a: loop {
+ | -- unreachable label defined here
+...
+LL | continue 'a
+ | ^^ unreachable label `'a`
+...
+LL | b!();
+ | ---- in this macro invocation
+ |
+ = note: labels are unreachable through functions, closures, async blocks and modules
+ = note: this error originates in the macro `b` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0767`.