1 error: attribute should be applied to a static
2 --> $DIR/non-static.rs:4:1
8 | ----------------- not a static
10 error: attribute should be applied to a static
11 --> $DIR/non-static.rs:8:1
17 LL | | #[thread_local] || {};
22 error: attribute should be applied to a static
23 --> $DIR/non-static.rs:11:5
25 LL | #[thread_local] || {};
26 | ^^^^^^^^^^^^^^^ ----- not a static
28 error: attribute should be applied to a static
29 --> $DIR/non-static.rs:16:5
35 | --------- not a static
37 error: aborting due to 4 previous errors