fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.2 KiB39 linesraw
1error: cannot use a `block` macro fragment here
2  --> $DIR/bad-interpolated-block.rs:7:15
3   |
4LL |         'lab: $b;
5   |         ------^^
6   |         |
7   |         the `block` fragment is within this context
8...
9LL |     m!({});
10   |     ------- in this macro invocation
11   |
12   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
13
14error: cannot use a `block` macro fragment here
15  --> $DIR/bad-interpolated-block.rs:8:16
16   |
17LL |         unsafe $b;
18   |         -------^^
19   |         |
20   |         the `block` fragment is within this context
21...
22LL |     m!({});
23   |     ------- in this macro invocation
24   |
25   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
26
27error: cannot use a `block` macro fragment here
28  --> $DIR/bad-interpolated-block.rs:9:23
29   |
30LL |         |x: u8| -> () $b;
31   |                       ^^ the `block` fragment is within this context
32...
33LL |     m!({});
34   |     ------- in this macro invocation
35   |
36   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
37
38error: aborting due to 3 previous errors
39