提交 6a136f67 编写于 作者: B bors

Auto merge of #45364 - nikomatsakis:issue-44137-anon, r=michaelwoerister

make `erase_regions_ty` query anonymous

r? @michaelwoerister
......@@ -610,7 +610,14 @@ pub fn fingerprint_needed_for_crate_hash(self) -> bool {
[] PostorderCnums,
[] HasCloneClosures(CrateNum),
[] HasCopyClosures(CrateNum),
[] EraseRegionsTy { ty: Ty<'tcx> },
// This query is not expected to have inputs -- as a result, it's
// not a good candidate for "replay" because it's essentially a
// pure function of its input (and hence the expectation is that
// no caller would be green **apart** from just this
// query). Making it anonymous avoids hashing the result, which
// may save a bit of time.
[anon] EraseRegionsTy { ty: Ty<'tcx> },
[] Freevars(DefId),
[] MaybeUnusedTraitImport(DefId),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册