]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/vec-macro-in-pattern.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.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 previous error
10