summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/unused-item-in-attr.rs
blob: 70dcd5413f1ee0b2a445e4cedd3058f9326b881f (plain)
1
2
3
4
5
6
#[w = { extern crate alloc; }]
//~^ ERROR unexpected expression: `{
//~| ERROR cannot find attribute `w` in this scope
fn f() {}

fn main() {}