summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/vec-macro-in-pattern.stderr
blob: 7060f5d8b4791010de64a1023784d7d8bf73c1f1 (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 previous error