]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/vec-macro-in-pattern.rs
Auto merge of #65129 - andjo403:cargo_args, r=alexcrichton
[rust.git] / src / test / ui / suggestions / vec-macro-in-pattern.rs
1 // run-rustfix
2 fn main() {
3     // everything after `.as_ref` should be suggested
4     match Some(vec![3]).as_ref().map(|v| v.as_slice()) {
5         Some(vec![_x]) => (), //~ ERROR unexpected `(` after qualified path
6         _ => (),
7     }
8 }