summaryrefslogtreecommitdiffstats
path: root/src/test/ui/used.stderr
blob: ea77f129d8ef0608709ce2d4cabd80e9586af980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: attribute must be applied to a `static` variable
  --> $DIR/used.rs:4:1
   |
LL | #[used]
   | ^^^^^^^

error: attribute must be applied to a `static` variable
  --> $DIR/used.rs:7:1
   |
LL | #[used]
   | ^^^^^^^

error: attribute must be applied to a `static` variable
  --> $DIR/used.rs:10:1
   |
LL | #[used]
   | ^^^^^^^

error: attribute must be applied to a `static` variable
  --> $DIR/used.rs:13:1
   |
LL | #[used]
   | ^^^^^^^

error: aborting due to 4 previous errors