mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
14 lines
265 B
Plaintext
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
|
|
|