blob: 73043de529029fe46b6ae606f0b0768e23c09b59 (
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: `const` and `let` are mutually exclusive
--> $DIR/issue-99910-const-let-mutually-exclusive.rs:4:5
|
LL | const let _FOO: i32 = 123;
| ^^^^^^^^^
|
help: remove `let`
|
LL - const let _FOO: i32 = 123;
LL + const _FOO: i32 = 123;
|
error: `const` and `let` are mutually exclusive
--> $DIR/issue-99910-const-let-mutually-exclusive.rs:6:5
|
LL | let const _BAR: i32 = 123;
| ^^^^^^^^^
|
help: remove `let`
|
LL - let const _BAR: i32 = 123;
LL + const _BAR: i32 = 123;
|
error: aborting due to 2 previous errors
|