about summary refs log tree commit diff
path: root/tests/ui/parser/suggest-assoc-const.stderr
blob: 8cb304ced372ffd4480aea14a5cb84a8b4844b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: non-item in item list
  --> $DIR/suggest-assoc-const.rs:5:5
   |
LL |     let _X: i32;
   |     ^^^
   |
help: consider using `const` instead of `let` for associated const
   |
LL -     let _X: i32;
LL +     const _X: i32;
   |

error: aborting due to 1 previous error