fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
666 B16 linesraw
1error: unexpected `(` after qualified path
2  --> $DIR/vec-macro-in-pattern.rs:5:14
3   |
4LL |         Some(vec![_x]) => (),
5   |              ^^^^^^^^
6   |              |
7   |              unexpected `(` after qualified path
8   |              the qualified path
9   |              in this macro invocation
10   |              help: use a slice pattern here instead: `[_x]`
11   |
12   = help: for more information, see https://doc.rust-lang.org/edition-guide/rust-2018/slice-patterns.html
13   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
14
15error: aborting due to previous error
16