about summary refs log tree commit diff
path: root/tests/ui/parser/misspelled-keywords/let.stderr
blob: 9ebc4b5afa64a7a0d5902ae29d7be43a50d27408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `a`
  --> $DIR/let.rs:2:9
   |
LL |     Let a = 10;
   |         ^ expected one of 8 possible tokens
   |
help: write keyword `let` in lowercase
   |
LL -     Let a = 10;
LL +     let a = 10;
   |

error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `a`
  --> $DIR/let.rs:7:10
   |
LL |     lett a = 10;
   |          ^ expected one of 8 possible tokens
   |
help: there is a keyword `let` with a similar name
   |
LL -     lett a = 10;
LL +     let a = 10;
   |

error: aborting due to 2 previous errors