2021-11-21 09:16:02 -06:00
|
|
|
#![u=||{static d=||1;}]
|
2023-12-11 16:55:50 -06:00
|
|
|
//~^ attribute value must be a literal
|
2021-11-21 09:16:02 -06:00
|
|
|
//~| cannot find attribute `u` in this scope
|
|
|
|
//~| missing type for `static` item
|
2021-11-24 16:07:13 -06:00
|
|
|
|
|
|
|
#![a={impl std::ops::Neg for i8 {}}]
|
2023-12-11 16:55:50 -06:00
|
|
|
//~^ ERROR attribute value must be a literal
|
2021-11-24 16:07:13 -06:00
|
|
|
//~| ERROR cannot find attribute `a` in this scope
|
2022-01-20 18:15:39 -06:00
|
|
|
//~| ERROR `main` function not found in crate `issue_90873`
|