@@ -257,7 +257,7 @@ impl<'a, 'b:'a, 'tcx:'b> ImportResolver<'a, 'b, 'tcx> {
257257 errors. extend ( self . resolve_imports_for_module ( module_) ) ;
258258 self . resolver . current_module = orig_module;
259259
260- build_reduced_graph:: populate_module_if_necessary ( self . resolver , & module_) ;
260+ build_reduced_graph:: populate_module_if_necessary ( self . resolver , module_) ;
261261 module_. for_each_local_child ( |_, _, child_node| {
262262 match child_node. module ( ) {
263263 None => {
@@ -345,14 +345,14 @@ impl<'a, 'b:'a, 'tcx:'b> ImportResolver<'a, 'b, 'tcx> {
345345 // We found the module that the target is contained
346346 // within. Attempt to resolve the import within it.
347347 if let SingleImport ( target, source) = import_directive. subclass {
348- self . resolve_single_import ( & module_,
348+ self . resolve_single_import ( module_,
349349 containing_module,
350350 target,
351351 source,
352352 import_directive,
353353 lp)
354354 } else {
355- self . resolve_glob_import ( & module_, containing_module, import_directive, lp)
355+ self . resolve_glob_import ( module_, containing_module, import_directive, lp)
356356 }
357357 } )
358358 . and_then ( |( ) | {
@@ -465,9 +465,9 @@ impl<'a, 'b:'a, 'tcx:'b> ImportResolver<'a, 'b, 'tcx> {
465465
466466 // We need to resolve both namespaces for this to succeed.
467467 let ( value_result, value_used_reexport) =
468- self . resolve_name_in_module ( & target_module, source, ValueNS , module_) ;
468+ self . resolve_name_in_module ( target_module, source, ValueNS , module_) ;
469469 let ( type_result, type_used_reexport) =
470- self . resolve_name_in_module ( & target_module, source, TypeNS , module_) ;
470+ self . resolve_name_in_module ( target_module, source, TypeNS , module_) ;
471471
472472 match ( & value_result, & type_result) {
473473 ( & Success ( ( _, ref name_binding) ) , _) if !value_used_reexport &&
@@ -585,7 +585,7 @@ impl<'a, 'b:'a, 'tcx:'b> ImportResolver<'a, 'b, 'tcx> {
585585 if let ( & Failed ( _) , & Failed ( _) ) = ( & value_result, & type_result) {
586586 let msg = format ! ( "There is no `{}` in `{}`{}" ,
587587 source,
588- module_to_string( & target_module) , lev_suggestion) ;
588+ module_to_string( target_module) , lev_suggestion) ;
589589 return Failed ( Some ( ( directive. span , msg) ) ) ;
590590 }
591591
@@ -711,7 +711,7 @@ impl<'a, 'b:'a, 'tcx:'b> ImportResolver<'a, 'b, 'tcx> {
711711 }
712712
713713 // Add all children from the containing module.
714- build_reduced_graph:: populate_module_if_necessary ( self . resolver , & target_module) ;
714+ build_reduced_graph:: populate_module_if_necessary ( self . resolver , target_module) ;
715715
716716 target_module. for_each_local_child ( |name, ns, name_binding| {
717717 self . merge_import_resolution ( module_,
0 commit comments