Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
src
/
test
/
ui
/
suggestions
/
vec-macro-in-pattern.fixed
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
_
=>
(),
}
}