@@ -3647,8 +3647,7 @@ class Resolver {
3647
3647
NoNameDefinition {
3648
3648
// We failed to resolve the name. Report an error.
3649
3649
self. session . span_err ( path. span ,
3650
- #fmt ( "use of undeclared identifier: \
3651
- %s::%s",
3650
+ #fmt ( "unresolved name: %s::%s" ,
3652
3651
* ( * self . atom_table ) . atoms_to_str
3653
3652
( ( * module_path_atoms) . get ( ) ) ,
3654
3653
* ( * self . atom_table ) . atom_to_str
@@ -3700,8 +3699,7 @@ class Resolver {
3700
3699
NoNameDefinition {
3701
3700
// We failed to resolve the name. Report an error.
3702
3701
self. session . span_err ( path. span ,
3703
- #fmt ( "use of undeclared identifier: \
3704
- %s::%s",
3702
+ #fmt ( "unresolved name: %s::%s" ,
3705
3703
* ( * self . atom_table ) . atoms_to_str
3706
3704
( ( * module_path_atoms) . get ( ) ) ,
3707
3705
* ( * self . atom_table ) . atom_to_str
@@ -3806,8 +3804,7 @@ class Resolver {
3806
3804
}
3807
3805
none {
3808
3806
self. session . span_err ( expr. span ,
3809
- #fmt ( "use of undeclared \
3810
- identifier '%s'",
3807
+ #fmt ( "unresolved name: %s" ,
3811
3808
connect ( path. idents . map ( |x| * x) ,
3812
3809
"::" ) ) ) ;
3813
3810
}
0 commit comments