4 let x: io::Result<()> = Ok(());
6 Err(ref e) if e.kind == io::EndOfFile {
7 //~^ NOTE while parsing this struct
9 //~^ ERROR expected identifier, found keyword `return`
10 //~| NOTE expected identifier, found keyword
12 //~^ NOTE expected one of `.`, `=>`, `?`, or an operator
14 //~^ ERROR expected one of `.`, `=>`, `?`, or an operator, found reserved identifier `_`
15 //~| NOTE unexpected token