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` ```
15 lines
554 B
Text
15 lines
554 B
Text
error[E0433]: cannot find module or crate `stable` in this scope
|
|
--> $DIR/builtin-attribute-prefix.rs:7:12
|
|
|
|
|
LL | struct S(#[stable::skip] u8, u16, u32);
|
|
| ^^^^^^ use of unresolved module or unlinked crate `stable`
|
|
|
|
error[E0433]: cannot find module or crate `must_use` in this scope
|
|
--> $DIR/builtin-attribute-prefix.rs:2:3
|
|
|
|
|
LL | #[must_use::skip]
|
|
| ^^^^^^^^ use of unresolved module or unlinked crate `must_use`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|