rust/tests/ui/issues/issue-43250.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
487 B
Plaintext
Raw Normal View History

2018-07-15 21:11:54 +00:00
error: arbitrary expressions aren't allowed in patterns
2018-12-25 15:56:47 +00:00
--> $DIR/issue-43250.rs:9:8
2018-07-15 21:11:54 +00:00
|
LL | m!(y);
| ^
|
2024-04-29 12:53:38 +00:00
= note: the `expr` fragment specifier forces the metavariable's content to be an expression
2018-07-15 21:11:54 +00:00
error: arbitrary expressions aren't allowed in patterns
2018-12-25 15:56:47 +00:00
--> $DIR/issue-43250.rs:11:8
2018-07-15 21:11:54 +00:00
|
LL | m!(C);
| ^
|
2024-04-29 12:53:38 +00:00
= note: the `expr` fragment specifier forces the metavariable's content to be an expression
2018-07-15 21:11:54 +00:00
error: aborting due to 2 previous errors