summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-99910-const-let-mutually-exclusive.stderr
blob: 72377fc379cac8c525d02399cd95fa6a1af699ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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