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` ```
20 lines
688 B
Text
20 lines
688 B
Text
error[E0433]: cannot find module or crate `Iuse` in the crate root
|
|
--> $DIR/nested-import-root-symbol-150103.rs:6:9
|
|
|
|
|
LL | use Iuse::{ ::Fish };
|
|
| ^^^^ use of unresolved module or unlinked crate `Iuse`
|
|
|
|
|
help: you might be missing a crate named `Iuse`, add it to your project and import it in your code
|
|
|
|
|
LL + extern crate Iuse;
|
|
|
|
|
|
|
error[E0433]: the crate root in paths can only be used in start position
|
|
--> $DIR/nested-import-root-symbol-150103.rs:10:13
|
|
|
|
|
LL | use A::{::Fish};
|
|
| ^ can only be used in path start position
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|