@@ -665,7 +665,6 @@ impl<'a, 'tcx> CrateMetadata {
665665 def : def,
666666 vis : ty:: Visibility :: Public ,
667667 span : DUMMY_SP ,
668- is_import : false ,
669668 } ) ;
670669 }
671670 }
@@ -705,7 +704,6 @@ impl<'a, 'tcx> CrateMetadata {
705704 ident : Ident :: from_interned_str ( self . item_name ( child_index) ) ,
706705 vis : self . get_visibility ( child_index) ,
707706 span : self . entry ( child_index) . span . decode ( ( self , sess) ) ,
708- is_import : false ,
709707 } ) ;
710708 }
711709 }
@@ -722,8 +720,7 @@ impl<'a, 'tcx> CrateMetadata {
722720 ( self . get_def ( child_index) , def_key. disambiguated_data . data . get_opt_name ( ) ) {
723721 let ident = Ident :: from_interned_str ( name) ;
724722 let vis = self . get_visibility ( child_index) ;
725- let is_import = false ;
726- callback ( def:: Export { def, ident, vis, span, is_import } ) ;
723+ callback ( def:: Export { def, ident, vis, span } ) ;
727724 // For non-re-export structs and variants add their constructors to children.
728725 // Re-export lists automatically contain constructors when necessary.
729726 match def {
@@ -734,7 +731,7 @@ impl<'a, 'tcx> CrateMetadata {
734731 callback ( def:: Export {
735732 def : ctor_def,
736733 vis : self . get_visibility ( ctor_def_id. index ) ,
737- ident, span, is_import ,
734+ ident, span,
738735 } ) ;
739736 }
740737 }
@@ -744,7 +741,7 @@ impl<'a, 'tcx> CrateMetadata {
744741 let ctor_kind = self . get_ctor_kind ( child_index) ;
745742 let ctor_def = Def :: VariantCtor ( def_id, ctor_kind) ;
746743 let vis = self . get_visibility ( child_index) ;
747- callback ( def:: Export { def : ctor_def, ident, vis, span, is_import } ) ;
744+ callback ( def:: Export { def : ctor_def, ident, vis, span } ) ;
748745 }
749746 _ => { }
750747 }
0 commit comments