blob: 3dabebfdaa25346b427478adc93c4a9dc9343849 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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 a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
|