mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
9c0ce05d24
fixes #126789
11 lines
259 B
Plaintext
11 lines
259 B
Plaintext
error: attribute must be applied to a `static` variable
|
|
--> $DIR/used-issue-126789.rs:2:5
|
|
|
|
|
LL | #[used]
|
|
| ^^^^^^^
|
|
LL | static FOO: i32;
|
|
| ---------------- but this is a foreign static item
|
|
|
|
error: aborting due to 1 previous error
|
|
|