Remove "failed to resolve" and use the same format we use in other resolution errors "cannot find `name`". ``` error[E0433]: cannot find `nonexistent` in `existent` --> $DIR/custom_attr_multisegment_error.rs:5:13 | LL | #[existent::nonexistent] | ^^^^^^^^^^^ could not find `nonexistent` in `existent` ```
21 lines
777 B
Text
21 lines
777 B
Text
error[E0433]: cannot find module or crate `should_panic` in this scope
|
|
--> $DIR/check-builtin-attr-ice.rs:45:7
|
|
|
|
|
LL | #[should_panic::skip]
|
|
| ^^^^^^^^^^^^ use of unresolved module or unlinked crate `should_panic`
|
|
|
|
error[E0433]: cannot find module or crate `should_panic` in this scope
|
|
--> $DIR/check-builtin-attr-ice.rs:49:7
|
|
|
|
|
LL | #[should_panic::a::b::c]
|
|
| ^^^^^^^^^^^^ use of unresolved module or unlinked crate `should_panic`
|
|
|
|
error[E0433]: cannot find module or crate `deny` in this scope
|
|
--> $DIR/check-builtin-attr-ice.rs:57:7
|
|
|
|
|
LL | #[deny::skip]
|
|
| ^^^^ use of unresolved module or unlinked crate `deny`
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|