mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
692bc344d5
Go over all structured parser suggestions and make them verbose style. When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
15 lines
386 B
Plaintext
15 lines
386 B
Plaintext
error: extern items cannot be `const`
|
|
--> $DIR/extern-const.rs:14:11
|
|
|
|
|
LL | const rust_dbg_static_mut: c_int;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html
|
|
help: try using a static value
|
|
|
|
|
LL | static rust_dbg_static_mut: c_int;
|
|
| ~~~~~~
|
|
|
|
error: aborting due to 1 previous error
|
|
|