1 error: unexpected expression: `||
5 --> $DIR/issue-90873.rs:1:6
7 LL | #![u=||{static d=||1;}]
10 error: unexpected expression: `{
11 impl std::ops::Neg for i8 {}
13 --> $DIR/issue-90873.rs:6:6
15 LL | #![a={impl std::ops::Neg for i8 {}}]
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 error: cannot find attribute `u` in this scope
19 --> $DIR/issue-90873.rs:1:4
21 LL | #![u=||{static d=||1;}]
24 error: cannot find attribute `a` in this scope
25 --> $DIR/issue-90873.rs:6:4
27 LL | #![a={impl std::ops::Neg for i8 {}}]
30 error[E0601]: `main` function not found in crate `issue_90873`
31 --> $DIR/issue-90873.rs:6:37
33 LL | #![a={impl std::ops::Neg for i8 {}}]
34 | ^ consider adding a `main` function to `$DIR/issue-90873.rs`
36 error: missing type for `static` item
37 --> $DIR/issue-90873.rs:1:17
39 LL | #![u=||{static d=||1;}]
40 | ^ help: provide a type for the item: `: <type>`
42 error: aborting due to 6 previous errors
44 For more information about this error, try `rustc --explain E0601`.