about summary refs log tree commit diff
path: root/tests/ui/parser/misspelled-keywords/static.stderr
blob: 0df40bcdc33b5fd27b2f1e85ddf1d8a9fd94ad83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected one of `!` or `::`, found `a`
  --> $DIR/static.rs:1:8
   |
LL | Static a = 0;
   |        ^ expected one of `!` or `::`
   |
help: write keyword `static` in lowercase (notice the capitalization)
   |
LL - Static a = 0;
LL + static a = 0;
   |

error: aborting due to 1 previous error