summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/bad-interpolated-block.stderr
blob: 77933b1bcec68529b74617099e04e89f35d16d95 (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:7: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:8: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:9: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