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
553 B
Text
21 lines
553 B
Text
error: unexpected generic arguments in path
|
|
--> $DIR/visibility-ty-params.rs:6:13
|
|
|
|
|
LL | m!{ crate::S<u8> }
|
|
| ^^^^
|
|
|
|
error[E0433]: cannot find module `S` in `crate`
|
|
--> $DIR/visibility-ty-params.rs:6:12
|
|
|
|
|
LL | m!{ crate::S<u8> }
|
|
| ^ `S` is a struct, not a module
|
|
|
|
error: unexpected generic arguments in path
|
|
--> $DIR/visibility-ty-params.rs:10:17
|
|
|
|
|
LL | m!{ crate::m<> }
|
|
| ^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|