summary refs log tree commit diff
path: root/tests/ui/macros/vec-macro-in-pattern.stderr
blob: f32a2cf8e435090f9f1f54faff32b0cd80afb72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected pattern, found `#`
  --> $DIR/vec-macro-in-pattern.rs:7:14
   |
LL |         Some(vec![43]) => {}
   |              ^^^^^^^^
   |              |
   |              expected pattern
   |              in this macro invocation
   |              this macro call doesn't expand to a pattern
   |
   = 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