about summary refs log tree commit diff
path: root/tests/ui/parser/misspelled-keywords/while-loop.stderr
blob: 2d1136285c844b4f9fa9839318a5ed221e5c3777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `a`
  --> $DIR/while-loop.rs:2:12
   |
LL |     whilee a < b {
   |            ^ expected one of 8 possible tokens
   |
help: there is a keyword `while` with a similar name
   |
LL -     whilee a < b {
LL +     while a < b {
   |

error: aborting due to 1 previous error