]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issue-99910-const-let-mutually-exclusive.stderr
Auto merge of #107688 - lukas-code:projection-with-lifetime, r=jackh726
[rust.git] / tests / ui / parser / issue-99910-const-let-mutually-exclusive.stderr
1 error: `const` and `let` are mutually exclusive
2   --> $DIR/issue-99910-const-let-mutually-exclusive.rs:4:5
3    |
4 LL |     const let _FOO: i32 = 123;
5    |     ^^^^^^^^^ help: remove `let`: `const`
6
7 error: `const` and `let` are mutually exclusive
8   --> $DIR/issue-99910-const-let-mutually-exclusive.rs:6:5
9    |
10 LL |     let const _BAR: i32 = 123;
11    |     ^^^^^^^^^ help: remove `let`: `const`
12
13 error: aborting due to 2 previous errors
14