mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
11 lines
293 B
Plaintext
11 lines
293 B
Plaintext
error: arbitrary expressions aren't allowed in patterns
|
|
--> $DIR/expr-in-pat-issue-99380.rs:10:10
|
|
|
|
|
LL | foo!(Some(3));
|
|
| ^^^^^^^
|
|
|
|
|
= note: the `expr` fragment specifier forces the metavariable's content to be an expression
|
|
|
|
error: aborting due to 1 previous error
|
|
|