about summary refs log tree commit diff
path: root/tests/ui/parser/misspelled-keywords/let-mut.stderr
blob: aee457e135ba42c01cdfcd957d431b8853e0abe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected one of `:`, `;`, `=`, `@`, or `|`, found `a`
  --> $DIR/let-mut.rs:2:14
   |
LL |     let muta a = 10;
   |              ^ expected one of `:`, `;`, `=`, `@`, or `|`
   |
help: there is a keyword `mut` with a similar name
   |
LL -     let muta a = 10;
LL +     let mut a = 10;
   |

error: aborting due to 1 previous error