2024-11-18 03:42:16 +00:00
|
|
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `should_panic`
|
2025-04-09 11:11:12 +00:00
|
|
|
--> $DIR/check-builtin-attr-ice.rs:45:7
|
2024-08-04 01:42:14 +00:00
|
|
|
|
|
|
|
|
LL | #[should_panic::skip]
|
2024-11-18 03:42:16 +00:00
|
|
|
| ^^^^^^^^^^^^ use of unresolved module or unlinked crate `should_panic`
|
2024-08-04 01:42:14 +00:00
|
|
|
|
2024-11-18 03:42:16 +00:00
|
|
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `should_panic`
|
2025-04-09 11:11:12 +00:00
|
|
|
--> $DIR/check-builtin-attr-ice.rs:50:7
|
2024-08-04 01:42:14 +00:00
|
|
|
|
|
|
|
|
LL | #[should_panic::a::b::c]
|
2024-11-18 03:42:16 +00:00
|
|
|
| ^^^^^^^^^^^^ use of unresolved module or unlinked crate `should_panic`
|
2024-08-04 01:42:14 +00:00
|
|
|
|
2024-11-18 03:42:16 +00:00
|
|
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `deny`
|
2025-04-09 11:11:12 +00:00
|
|
|
--> $DIR/check-builtin-attr-ice.rs:59:7
|
2024-08-04 01:42:14 +00:00
|
|
|
|
|
|
|
|
LL | #[deny::skip]
|
2024-11-18 03:42:16 +00:00
|
|
|
| ^^^^ use of unresolved module or unlinked crate `deny`
|
2024-08-04 01:42:14 +00:00
|
|
|
|
2025-04-09 11:15:45 +00:00
|
|
|
error: `#[should_panic::skip]` only has an effect on functions
|
2025-04-09 11:11:12 +00:00
|
|
|
--> $DIR/check-builtin-attr-ice.rs:45:5
|
|
|
|
|
|
|
|
|
LL | #[should_panic::skip]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/check-builtin-attr-ice.rs:42:9
|
|
|
|
|
|
|
|
|
LL | #![deny(unused_attributes)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2025-04-09 11:15:45 +00:00
|
|
|
error: `#[should_panic::a::b::c]` only has an effect on functions
|
2025-04-09 11:11:12 +00:00
|
|
|
--> $DIR/check-builtin-attr-ice.rs:50:5
|
|
|
|
|
|
|
|
|
LL | #[should_panic::a::b::c]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2024-08-04 01:42:14 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|