@@ -95,7 +95,7 @@ impl Ctx {
9595 ast:: Item :: TraitDef ( _) | ast:: Item :: ImplDef ( _) | ast:: Item :: ExternBlock ( _) => { }
9696
9797 // These don't have inner items.
98- ast:: Item :: Module ( _) | ast:: Item :: ExternCrate ( _) | ast:: Item :: UseItem ( _) => { }
98+ ast:: Item :: Module ( _) | ast:: Item :: ExternCrate ( _) | ast:: Item :: Use ( _) => { }
9999 } ;
100100
101101 let attrs = Attrs :: new ( item, & self . hygiene ) ;
@@ -110,7 +110,7 @@ impl Ctx {
110110 ast:: Item :: Module ( ast) => self . lower_module ( ast) . map ( Into :: into) ,
111111 ast:: Item :: TraitDef ( ast) => self . lower_trait ( ast) . map ( Into :: into) ,
112112 ast:: Item :: ImplDef ( ast) => self . lower_impl ( ast) . map ( Into :: into) ,
113- ast:: Item :: UseItem ( ast) => Some ( ModItems (
113+ ast:: Item :: Use ( ast) => Some ( ModItems (
114114 self . lower_use ( ast) . into_iter ( ) . map ( Into :: into) . collect :: < SmallVec < _ > > ( ) ,
115115 ) ) ,
116116 ast:: Item :: ExternCrate ( ast) => self . lower_extern_crate ( ast) . map ( Into :: into) ,
@@ -469,7 +469,7 @@ impl Ctx {
469469 Some ( id ( self . data ( ) . impls . alloc ( res) ) )
470470 }
471471
472- fn lower_use ( & mut self , use_item : & ast:: UseItem ) -> Vec < FileItemTreeId < Import > > {
472+ fn lower_use ( & mut self , use_item : & ast:: Use ) -> Vec < FileItemTreeId < Import > > {
473473 // FIXME: cfg_attr
474474 let is_prelude = use_item. has_atom_attr ( "prelude_import" ) ;
475475 let visibility = self . lower_visibility ( use_item) ;
0 commit comments