]> git.lizzy.rs Git - rust.git/blob - src/test/ui/token/issue-15980.stderr
Remove the parse-fail test suite
[rust.git] / src / test / ui / token / issue-15980.stderr
1 error: expected identifier, found keyword `return`
2   --> $DIR/issue-15980.rs:20:13
3    |
4 LL |         Err(ref e) if e.kind == io::EndOfFile {
5    |                                 ------------- while parsing this struct
6 LL |             //~^ NOTE while parsing this struct
7 LL |             return
8    |             ^^^^^^ expected identifier, found keyword
9
10 error: expected one of `.`, `=>`, `?`, or an operator, found `_`
11   --> $DIR/issue-15980.rs:25:9
12    |
13 LL |         }
14    |          - expected one of `.`, `=>`, `?`, or an operator here
15 LL |         //~^ NOTE expected one of `.`, `=>`, `?`, or an operator here
16 LL |         _ => {}
17    |         ^ unexpected token
18
19 error[E0412]: cannot find type `IoResult` in module `io`
20   --> $DIR/issue-15980.rs:14:16
21    |
22 LL |     let x: io::IoResult<()> = Ok(());
23    |                ^^^^^^^^ did you mean `Result`?
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0412`.