rust/src/test/ui/used.stderr

27 lines
726 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: attribute must be applied to a `static` variable
2018-09-09 15:08:42 -05:00
--> $DIR/used.rs:14:1
2018-08-08 07:28:26 -05:00
|
LL | #[used] //~ ERROR attribute must be applied to a `static` variable
| ^^^^^^^
error: attribute must be applied to a `static` variable
2018-09-09 15:08:42 -05:00
--> $DIR/used.rs:17:1
2018-08-08 07:28:26 -05:00
|
LL | #[used] //~ ERROR attribute must be applied to a `static` variable
| ^^^^^^^
error: attribute must be applied to a `static` variable
2018-09-09 15:08:42 -05:00
--> $DIR/used.rs:20:1
2018-08-08 07:28:26 -05:00
|
LL | #[used] //~ ERROR attribute must be applied to a `static` variable
| ^^^^^^^
error: attribute must be applied to a `static` variable
2018-09-09 15:08:42 -05:00
--> $DIR/used.rs:23:1
2018-08-08 07:28:26 -05:00
|
LL | #[used] //~ ERROR attribute must be applied to a `static` variable
| ^^^^^^^
error: aborting due to 4 previous errors