• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0767]: use of unreachable label `'__async_stream_private_check_scope`
2  --> tests/ui/unsoundness_issue_106.rs:14:10
3   |
414 |       pin!(stream! {
5   |  __________^
615 | |         let yield_42 = asynk!(yield 42_usize);
716 | |         let s = stream! {
817 | |             yield Box::new(12345);
9...  |
1026 | |         }
1127 | |     })
12   | |     ^
13   | |     |
14   | |_____unreachable label `'__async_stream_private_check_scope`
15   |       unreachable label defined here
16   |
17   = note: labels are unreachable through functions, closures, async blocks and modules
18   = note: this error originates in the macro `$crate::__private::stream_inner` which comes from the expansion of the macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info)
19
20error[E0267]: `break` inside `async` block
21  --> tests/ui/unsoundness_issue_106.rs:14:10
22   |
238  |           async { $e }
24   |           ----- enclosing `async` block
25...
2614 |       pin!(stream! {
27   |  __________^
2815 | |         let yield_42 = asynk!(yield 42_usize);
2916 | |         let s = stream! {
3017 | |             yield Box::new(12345);
31...  |
3226 | |         }
3327 | |     })
34   | |_____^ cannot `break` inside `async` block
35   |
36   = note: this error originates in the macro `$crate::__private::stream_inner` which comes from the expansion of the macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info)
37