blob: 76b367ae99b7591c145df3c9ea3e2a60d755a39c [file] [log] [blame]
fn main() {
let a = Some(vec![1, 2]);
match a {
Some(refe list) => println!("{list:?}"),
//~^ ERROR expected one of
//~| ERROR this pattern has 2 fields,
_ => println!("none"),
}
}