File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/librustc_metadata/rmeta Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1392,7 +1392,7 @@ impl<'a, 'tcx> CrateMetadata {
13921392
13931393 fn generator_kind ( & self , id : DefIndex ) -> Option < hir:: GeneratorKind > {
13941394 match self . kind ( id) {
1395- EntryKind :: Generator ( data) => Some ( data. decode ( self ) ) ,
1395+ EntryKind :: Generator ( data) => Some ( data) ,
13961396 _ => None ,
13971397 }
13981398 }
Original file line number Diff line number Diff line change @@ -1268,7 +1268,7 @@ impl EncodeContext<'tcx> {
12681268 record ! ( self . per_def. kind[ def_id] <- match ty. kind {
12691269 ty:: Generator ( ..) => {
12701270 let data = self . tcx. generator_kind( def_id) . unwrap( ) ;
1271- EntryKind :: Generator ( self . lazy ( data) )
1271+ EntryKind :: Generator ( data)
12721272 }
12731273
12741274 ty:: Closure ( ..) => EntryKind :: Closure ,
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ enum EntryKind {
302302 Mod ( Lazy < ModData > ) ,
303303 MacroDef ( Lazy < MacroDef > ) ,
304304 Closure ,
305- Generator ( Lazy < hir:: GeneratorKind > ) ,
305+ Generator ( hir:: GeneratorKind ) ,
306306 Trait ( Lazy < TraitData > ) ,
307307 Impl ( Lazy < ImplData > ) ,
308308 Method ( Lazy < MethodData > ) ,
You can’t perform that action at this time.
0 commit comments