rust/tests/ui/macros/vec-macro-in-pattern.stderr
2023-01-11 09:32:08 +00:00

11 lines
322 B
Plaintext

error: arbitrary expressions aren't allowed in patterns
--> $DIR/vec-macro-in-pattern.rs:7:14
|
LL | Some(vec![43]) => {}
| ^^^^^^^^
|
= note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error