fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
631 B15 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   |              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
14error: aborting due to previous error
15