@@ -900,7 +900,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
900900 } else {
901901 let guar = self . dcx ( ) . has_errors ( ) . unwrap ( ) ;
902902 MetaItemLit {
903- symbol : kw :: Empty ,
903+ symbol : sym :: empty ,
904904 suffix : None ,
905905 kind : LitKind :: Err ( guar) ,
906906 span : DUMMY_SP ,
@@ -1485,7 +1485,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
14851485 fn lower_fn_params_to_names ( & mut self , decl : & FnDecl ) -> & ' hir [ Ident ] {
14861486 self . arena . alloc_from_iter ( decl. inputs . iter ( ) . map ( |param| match param. pat . kind {
14871487 PatKind :: Ident ( _, ident, _) => self . lower_ident ( ident) ,
1488- _ => Ident :: new ( kw :: Empty , self . lower_span ( param. pat . span ) ) ,
1488+ _ => Ident :: new ( sym :: empty , self . lower_span ( param. pat . span ) ) ,
14891489 } ) )
14901490 }
14911491
@@ -2069,7 +2069,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
20692069 // so the def collector didn't create the def ahead of time. That's why we have to do
20702070 // it here.
20712071 let def_id =
2072- self . create_def ( parent_def_id, node_id, kw :: Empty , DefKind :: AnonConst , span) ;
2072+ self . create_def ( parent_def_id, node_id, sym :: empty , DefKind :: AnonConst , span) ;
20732073 let hir_id = self . lower_node_id ( node_id) ;
20742074
20752075 let path_expr = Expr {
@@ -2365,7 +2365,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
23652365 fn elided_dyn_bound ( & mut self , span : Span ) -> & ' hir hir:: Lifetime {
23662366 let r = hir:: Lifetime {
23672367 hir_id : self . next_id ( ) ,
2368- ident : Ident :: new ( kw :: Empty , self . lower_span ( span) ) ,
2368+ ident : Ident :: new ( sym :: empty , self . lower_span ( span) ) ,
23692369 res : hir:: LifetimeName :: ImplicitObjectLifetimeDefault ,
23702370 } ;
23712371 debug ! ( "elided_dyn_bound: r={:?}" , r) ;
0 commit comments