blob: e1695d6820a817d3ba6d5e4501484872579886c6 [file] [log] [blame]
// run-rustfix
fn main() {
// everything after `.as_ref` should be suggested
match Some(vec![3]).as_ref().map(|v| v.as_slice()) {
Some([_x]) => (), //~ ERROR unexpected `(` after qualified path
_ => (),
}
}