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
459 B
Text
15 lines
459 B
Text
error: expected trait, found struct `S`
|
|
--> $DIR/glob-bad-path.rs:9:11
|
|
|
|
|
LL | reuse S::*;
|
|
| ^ not a trait
|
|
|
|
error[E0433]: cannot find module or crate `unresolved` in this scope
|
|
--> $DIR/glob-bad-path.rs:8:11
|
|
|
|
|
LL | reuse unresolved::*;
|
|
| ^^^^^^^^^^ use of unresolved module or unlinked crate `unresolved`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|