summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/bad-interpolated-block.stderr
blob: 2a0999afdfaf8c0d0cf4ec67ec5a0e78aa2094db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error: cannot use a `block` macro fragment here
  --> $DIR/bad-interpolated-block.rs:5:15
   |
LL |         'lab: $b;
   |         ------^^
   |         |
   |         the `block` fragment is within this context
...
LL |     m!({});
   |     ------ in this macro invocation
   |
   = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: cannot use a `block` macro fragment here
  --> $DIR/bad-interpolated-block.rs:6:16
   |
LL |         unsafe $b;
   |         -------^^
   |         |
   |         the `block` fragment is within this context
...
LL |     m!({});
   |     ------ in this macro invocation
   |
   = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: cannot use a `block` macro fragment here
  --> $DIR/bad-interpolated-block.rs:7:23
   |
LL |         |x: u8| -> () $b;
   |                       ^^ the `block` fragment is within this context
...
LL |     m!({});
   |     ------ in this macro invocation
   |
   = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 3 previous errors