We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
erase_regions_ty
1 parent 7a4f394 commit b5e2451Copy full SHA for b5e2451
src/librustc/dep_graph/dep_node.rs
@@ -610,7 +610,14 @@ define_dep_nodes!( <'tcx>
610
[] PostorderCnums,
611
[] HasCloneClosures(CrateNum),
612
[] HasCopyClosures(CrateNum),
613
- [] EraseRegionsTy { ty: Ty<'tcx> },
+
614
+ // This query is not expected to have inputs -- as a result, it's
615
+ // not a good candidate for "replay" because it's essentially a
616
+ // pure function of its input (and hence the expectation is that
617
+ // no caller would be green **apart** from just this
618
+ // query). Making it anonymous avoids hashing the result, which
619
+ // may save a bit of time.
620
+ [anon] EraseRegionsTy { ty: Ty<'tcx> },
621
622
[] Freevars(DefId),
623
[] MaybeUnusedTraitImport(DefId),
0 commit comments