mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
11 lines
394 B
Plaintext
11 lines
394 B
Plaintext
error: extern mutable statics are not allowed with `#[linkage]`
|
|
--> $DIR/linkage-attr-mutable-static.rs:11:9
|
|
|
|
|
LL | #[linkage = "extern_weak"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: marking the extern static mutable would allow changing which symbol the static references rather than make the target of the symbol mutable
|
|
|
|
error: aborting due to 1 previous error
|
|
|