summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/vec-macro-in-pattern.stderr
blob: 447f5dcf8644f718615c29c3a1d11958987661e3 (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 the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 1 previous error