We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6511b4f + b5e2451 commit 6a136f6Copy full SHA for 6a136f6
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