]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/bad-interpolated-block.stderr
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / ui / parser / bad-interpolated-block.stderr
1 error: cannot use a `block` macro fragment here
2   --> $DIR/bad-interpolated-block.rs:5:15
3    |
4 LL |         'lab: $b;
5    |         ------^^
6    |         |
7    |         the `block` fragment is within this context
8 ...
9 LL |     m!({});
10    |     ------ in this macro invocation
11    |
12    = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error: cannot use a `block` macro fragment here
15   --> $DIR/bad-interpolated-block.rs:6:16
16    |
17 LL |         unsafe $b;
18    |         -------^^
19    |         |
20    |         the `block` fragment is within this context
21 ...
22 LL |     m!({});
23    |     ------ in this macro invocation
24    |
25    = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
26
27 error: cannot use a `block` macro fragment here
28   --> $DIR/bad-interpolated-block.rs:7:23
29    |
30 LL |         |x: u8| -> () $b;
31    |                       ^^ the `block` fragment is within this context
32 ...
33 LL |     m!({});
34    |     ------ in this macro invocation
35    |
36    = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
37
38 error: aborting due to 3 previous errors
39