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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
265 B
Plaintext
Raw Permalink Normal View History

error: non-item in item list
2024-02-07 10:42:01 +08:00
--> $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