rust/tests/ui/macros/vec-macro-in-pattern.stderr

15 lines
463 B
Plaintext
Raw Normal View History

error: expected pattern, found `#`
2021-01-16 15:32:51 +00:00
--> $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
2021-01-16 15:32:51 +00:00
|
= note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
2021-01-16 15:32:51 +00:00
error: aborting due to 1 previous error
2021-01-16 15:32:51 +00:00