2 let container = vec![Some(1), Some(2), None];
5 while if let Some(thing) = container.get(i) {
6 //~^ NOTE while parsing the body of this `while` expression
7 //~| NOTE this `while` condition successfully parsed
8 println!("{:?}", thing);
12 //~^ ERROR expected `{`, found `}`
13 //~| NOTE expected `{`