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` ```
54 lines
1.7 KiB
Text
54 lines
1.7 KiB
Text
error[E0425]: cannot find type `dyn` in this scope
|
|
--> $DIR/dyn-trait-compatibility.rs:3:11
|
|
|
|
|
LL | type A0 = dyn;
|
|
| ^^^ not found in this scope
|
|
|
|
error[E0425]: cannot find type `dyn` in this scope
|
|
--> $DIR/dyn-trait-compatibility.rs:7:11
|
|
|
|
|
LL | type A2 = dyn<dyn, dyn>;
|
|
| ^^^ not found in this scope
|
|
|
|
error[E0425]: cannot find type `dyn` in this scope
|
|
--> $DIR/dyn-trait-compatibility.rs:7:15
|
|
|
|
|
LL | type A2 = dyn<dyn, dyn>;
|
|
| ^^^ not found in this scope
|
|
|
|
error[E0425]: cannot find type `dyn` in this scope
|
|
--> $DIR/dyn-trait-compatibility.rs:7:20
|
|
|
|
|
LL | type A2 = dyn<dyn, dyn>;
|
|
| ^^^ not found in this scope
|
|
|
|
error[E0425]: cannot find type `dyn` in this scope
|
|
--> $DIR/dyn-trait-compatibility.rs:11:11
|
|
|
|
|
LL | type A3 = dyn<<dyn as dyn>::dyn>;
|
|
| ^^^ not found in this scope
|
|
|
|
error[E0405]: cannot find trait `dyn` in this scope
|
|
--> $DIR/dyn-trait-compatibility.rs:11:23
|
|
|
|
|
LL | type A3 = dyn<<dyn as dyn>::dyn>;
|
|
| ^^^ not found in this scope
|
|
|
|
error[E0425]: cannot find type `dyn` in this scope
|
|
--> $DIR/dyn-trait-compatibility.rs:11:16
|
|
|
|
|
LL | type A3 = dyn<<dyn as dyn>::dyn>;
|
|
| ^^^ not found in this scope
|
|
|
|
error[E0433]: cannot find module or crate `dyn` in this scope
|
|
--> $DIR/dyn-trait-compatibility.rs:5:11
|
|
|
|
|
LL | type A1 = dyn::dyn;
|
|
| ^^^ use of unresolved module or unlinked crate `dyn`
|
|
|
|
|
= help: you might be missing a crate named `dyn`
|
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
Some errors have detailed explanations: E0405, E0425, E0433.
|
|
For more information about an error, try `rustc --explain E0405`.
|