]> git.proxmox.com Git - rustc.git/blob - tests/ui/macros/vec-macro-in-pattern.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / macros / vec-macro-in-pattern.stderr
1 error: arbitrary expressions aren't allowed in patterns
2 --> $DIR/vec-macro-in-pattern.rs:7:14
3 |
4 LL | Some(vec![43]) => {}
5 | ^^^^^^^^
6 |
7 = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: aborting due to 1 previous error
10