os-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
Text
Raw Normal View History

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