about summary refs log tree commit diff
path: root/tests/ui/issues/issue-43250.stderr
blob: e74342b85adb39f30ccac4cae7add34788bbc7e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: arbitrary expressions aren't allowed in patterns
  --> $DIR/issue-43250.rs:9:8
   |
LL |     m!(y);
   |        ^
   |
   = note: the `expr` fragment specifier forces the metavariable's content to be an expression

error: arbitrary expressions aren't allowed in patterns
  --> $DIR/issue-43250.rs:11:8
   |
LL |     m!(C);
   |        ^
   |
   = note: the `expr` fragment specifier forces the metavariable's content to be an expression

error: aborting due to 2 previous errors