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