rust/tests/ui/parser/suggest-assoc-const.stderr

14 lines
265 B
Plaintext

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 | const _X: i32;
| ~~~~~
error: aborting due to 1 previous error