Clarify message about unresolved use
This commit is contained in:
parent
397db054cb
commit
7ec1de062a
52 changed files with 126 additions and 105 deletions
|
|
@ -2,5 +2,5 @@ mod mod_file_disambig_aux; //~ ERROR file for module `mod_file_disambig_aux` fou
|
|||
|
||||
fn main() {
|
||||
assert_eq!(mod_file_aux::bar(), 10);
|
||||
//~^ ERROR failed to resolve: use of undeclared type or module `mod_file_aux`
|
||||
//~^ ERROR failed to resolve: use of undeclared crate or module `mod_file_aux`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ LL | mod mod_file_disambig_aux;
|
|||
|
|
||||
= help: delete or rename one of them to remove the ambiguity
|
||||
|
||||
error[E0433]: failed to resolve: use of undeclared type or module `mod_file_aux`
|
||||
error[E0433]: failed to resolve: use of undeclared crate or module `mod_file_aux`
|
||||
--> $DIR/mod_file_disambig.rs:4:16
|
||||
|
|
||||
LL | assert_eq!(mod_file_aux::bar(), 10);
|
||||
| ^^^^^^^^^^^^ use of undeclared type or module `mod_file_aux`
|
||||
| ^^^^^^^^^^^^ use of undeclared crate or module `mod_file_aux`
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue