Debian Codegraph @

tests/ui/unsoundness_issue_106.stderr

raw
1 error[E0767]: use of unreachable label `'__async_stream_private_check_scope`
2 --> tests/ui/unsoundness_issue_106.rs:14:10
3 |
4 14 | pin!(stream! {
5 | __________^
6 15 | | let yield_42 = asynk!(yield 42_usize);
7 16 | | let s = stream! {
8 17 | | yield Box::new(12345);
9 ... |
10 26 | | }
11 27 | | })
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
20 error[E0267]: `break` inside `async` block
21 --> tests/ui/unsoundness_issue_106.rs:14:10
22 |
23 8 | async { $e }
24 | ----- enclosing `async` block
25 ...
26 14 | pin!(stream! {
27 | __________^
28 15 | | let yield_42 = asynk!(yield 42_usize);
29 16 | | let s = stream! {
30 17 | | yield Box::new(12345);
31 ... |
32 26 | | }
33 27 | | })
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)