2023-12-11 16:55:50 -06:00
|
|
|
error: attribute value must be a literal
|
2021-11-21 09:16:02 -06:00
|
|
|
--> $DIR/issue-90873.rs:1:6
|
|
|
|
|
|
|
|
|
LL | #![u=||{static d=||1;}]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-12-11 16:55:50 -06:00
|
|
|
error: attribute value must be a literal
|
2022-01-20 18:15:39 -06:00
|
|
|
--> $DIR/issue-90873.rs:6:6
|
2021-11-24 16:07:13 -06:00
|
|
|
|
|
|
|
|
LL | #![a={impl std::ops::Neg for i8 {}}]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-11-21 09:16:02 -06:00
|
|
|
error: cannot find attribute `u` in this scope
|
|
|
|
--> $DIR/issue-90873.rs:1:4
|
|
|
|
|
|
|
|
|
LL | #![u=||{static d=||1;}]
|
|
|
|
| ^
|
|
|
|
|
2021-11-24 16:07:13 -06:00
|
|
|
error: cannot find attribute `a` in this scope
|
2022-01-20 18:15:39 -06:00
|
|
|
--> $DIR/issue-90873.rs:6:4
|
2021-11-24 16:07:13 -06:00
|
|
|
|
|
|
|
|
LL | #![a={impl std::ops::Neg for i8 {}}]
|
|
|
|
| ^
|
|
|
|
|
2021-11-21 09:16:02 -06:00
|
|
|
error[E0601]: `main` function not found in crate `issue_90873`
|
2022-01-20 18:15:39 -06:00
|
|
|
--> $DIR/issue-90873.rs:6:37
|
2021-11-21 09:16:02 -06:00
|
|
|
|
|
2022-01-20 18:15:39 -06:00
|
|
|
LL | #![a={impl std::ops::Neg for i8 {}}]
|
|
|
|
| ^ consider adding a `main` function to `$DIR/issue-90873.rs`
|
2021-11-21 09:16:02 -06:00
|
|
|
|
|
|
|
error: missing type for `static` item
|
2022-08-05 06:41:42 -05:00
|
|
|
--> $DIR/issue-90873.rs:1:17
|
2021-11-21 09:16:02 -06:00
|
|
|
|
|
|
|
|
LL | #![u=||{static d=||1;}]
|
2022-08-05 06:41:42 -05:00
|
|
|
| ^ help: provide a type for the item: `: <type>`
|
2021-11-21 09:16:02 -06:00
|
|
|
|
2021-11-24 16:07:13 -06:00
|
|
|
error: aborting due to 6 previous errors
|
2021-11-21 09:16:02 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0601`.
|