1 error: unexpected expression: `{
4 --> $DIR/unused-item-in-attr.rs:1:7
6 LL | #[w = { extern crate alloc; }]
7 | ^^^^^^^^^^^^^^^^^^^^^^^
9 error: cannot find attribute `w` in this scope
10 --> $DIR/unused-item-in-attr.rs:1:3
12 LL | #[w = { extern crate alloc; }]
15 error: aborting due to 2 previous errors