blob: 59346461ce7754e69004cb40409089b25a194df5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error: expected one of `!` or `::`, found `A`
--> $DIR/const.rs:1:6
|
LL | cons A: u8 = 10;
| ^ expected one of `!` or `::`
|
help: there is a keyword `const` with a similar name
|
LL | const A: u8 = 10;
| +
error: aborting due to 1 previous error
|