]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/vec-macro-in-pattern.stderr
Auto merge of #65099 - pnkfelix:issue-63154-needed-more-normalize, r=nagisa
[rust.git] / src / test / ui / suggestions / vec-macro-in-pattern.stderr
1 error: unexpected `(` after qualified path
2   --> $DIR/vec-macro-in-pattern.rs:5:14
3    |
4 LL |         Some(vec![_x]) => (),
5    |              ^^^^^^^^
6    |              |
7    |              unexpected `(` after qualified path
8    |              in this macro invocation
9    |              help: use a slice pattern here instead: `[_x]`
10    |
11    = help: for more information, see https://doc.rust-lang.org/edition-guide/rust-2018/slice-patterns.html
12    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
13
14 error: aborting due to previous error
15