fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: cannot use a `block` macro fragment here 2 --> $DIR/bad-interpolated-block.rs:5: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 the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 13help: wrap this in another block 14 | 15LL | 'lab: { $b }; 16 | + + 17 18error: cannot use a `block` macro fragment here 19 --> $DIR/bad-interpolated-block.rs:6:16 20 | 21LL | unsafe $b; 22 | -------^^ 23 | | 24 | the `block` fragment is within this context 25... 26LL | m!({}); 27 | ------ in this macro invocation 28 | 29 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 30help: wrap this in another block 31 | 32LL | unsafe { $b }; 33 | + + 34 35error: cannot use a `block` macro fragment here 36 --> $DIR/bad-interpolated-block.rs:7:23 37 | 38LL | |x: u8| -> () $b; 39 | ^^ the `block` fragment is within this context 40... 41LL | m!({}); 42 | ------ in this macro invocation 43 | 44 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 45help: wrap this in another block 46 | 47LL | |x: u8| -> () { $b }; 48 | + + 49 50error: aborting due to 3 previous errors 51