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` ```
25 lines
919 B
Text
25 lines
919 B
Text
error[E0433]: cannot find module or crate `nonexistent` in the crate root
|
|
--> $DIR/field-attributes-vis-unresolved.rs:18:12
|
|
|
|
|
LL | pub(in nonexistent) field: u8
|
|
| ^^^^^^^^^^^ use of unresolved module or unlinked crate `nonexistent`
|
|
|
|
|
help: you might be missing a crate named `nonexistent`, add it to your project and import it in your code
|
|
|
|
|
LL + extern crate nonexistent;
|
|
|
|
|
|
|
error[E0433]: cannot find module or crate `nonexistent` in the crate root
|
|
--> $DIR/field-attributes-vis-unresolved.rs:23:12
|
|
|
|
|
LL | pub(in nonexistent) u8
|
|
| ^^^^^^^^^^^ use of unresolved module or unlinked crate `nonexistent`
|
|
|
|
|
help: you might be missing a crate named `nonexistent`, add it to your project and import it in your code
|
|
|
|
|
LL + extern crate nonexistent;
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|