error: attribute must be applied to a `static` variable
- --> $DIR/used.rs:16:1
+ --> $DIR/used.rs:4:1
|
LL | #[used] //~ ERROR attribute must be applied to a `static` variable
| ^^^^^^^
error: attribute must be applied to a `static` variable
- --> $DIR/used.rs:19:1
+ --> $DIR/used.rs:7:1
|
LL | #[used] //~ ERROR attribute must be applied to a `static` variable
| ^^^^^^^
error: attribute must be applied to a `static` variable
- --> $DIR/used.rs:22:1
+ --> $DIR/used.rs:10:1
|
LL | #[used] //~ ERROR attribute must be applied to a `static` variable
| ^^^^^^^
error: attribute must be applied to a `static` variable
- --> $DIR/used.rs:25:1
+ --> $DIR/used.rs:13:1
|
LL | #[used] //~ ERROR attribute must be applied to a `static` variable
| ^^^^^^^