rust/tests/ui/parser/issues/issue-99910-const-let-mutually-exclusive.stderr
Esteban Küber 855444ec54 mv tests
2023-10-24 21:27:05 +00:00

15 lines
434 B
Plaintext

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`: `const`
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`: `const`
error: aborting due to 2 previous errors