mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-29 03:27:44 +00:00
10 lines
356 B
Rust
10 lines
356 B
Rust
#![u=||{static d=||1;}]
|
|
//~^ ERROR attribute value must be a literal
|
|
//~| ERROR cannot find attribute `u` in this scope
|
|
//~| ERROR missing type for `static` item
|
|
|
|
#![a={impl std::ops::Neg for i8 {}}]
|
|
//~^ ERROR attribute value must be a literal
|
|
//~| ERROR cannot find attribute `a` in this scope
|
|
//~| ERROR `main` function not found in crate `issue_90873`
|