summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/issue-90873.rs
blob: 1411f61744d251cea925618de715e2b2f053201b (plain)
1
2
3
4
5
6
7
8
9
#![u=||{static d=||1;}]
//~^ unexpected expression
//~| cannot find attribute `u` in this scope
//~| missing type for `static` item

#![a={impl std::ops::Neg for i8 {}}]
//~^ ERROR unexpected expression
//~| ERROR cannot find attribute `a` in this scope
//~| ERROR `main` function not found in crate `issue_90873`