Unify wording of resolve error
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` ```
This commit is contained in:
parent
3f6250a7bb
commit
c73b3d20c6
249 changed files with 778 additions and 666 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// Regression test for issue #95879.
|
||||
|
||||
use unresolved_crate::module::Name; //~ ERROR failed to resolve
|
||||
use unresolved_crate::module::Name; //~ ERROR cannot find
|
||||
|
||||
/// [Name]
|
||||
pub struct S;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unresolved_crate`
|
||||
error[E0433]: cannot find module or crate `unresolved_crate` in the crate root
|
||||
--> $DIR/unresolved-import-recovery.rs:3:5
|
||||
|
|
||||
LL | use unresolved_crate::module::Name;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// This previously triggered an ICE.
|
||||
|
||||
pub(in crate::r#mod) fn main() {}
|
||||
//~^ ERROR failed to resolve: use of unresolved module or unlinked crate `r#mod`
|
||||
//~^ ERROR cannot find module or crate `r#mod` in `crate`
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `r#mod`
|
||||
error[E0433]: cannot find module or crate `r#mod` in `crate`
|
||||
--> $DIR/issue-61732.rs:3:15
|
||||
|
|
||||
LL | pub(in crate::r#mod) fn main() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue