]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-while-as-identifier.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / parser / keyword-while-as-identifier.stderr
1 error: expected pattern, found keyword `while`
2   --> $DIR/keyword-while-as-identifier.rs:16:9
3    |
4 LL |     let while = "foo"; //~ error: expected pattern, found keyword `while`
5    |         ^^^^^ expected pattern
6
7 error: aborting due to previous error
8