shrink ty::PredicateKind again

This commit is contained in:
lcnr 2021-08-02 08:47:15 +02:00
parent 283e0e670b
commit bc0156bace
12 changed files with 68 additions and 22 deletions

View file

@ -217,7 +217,7 @@ impl<'tcx> Key for (DefId, SubstsRef<'tcx>) {
}
}
impl<'tcx> Key for (ty::Unevaluated<'tcx>, ty::Unevaluated<'tcx>) {
impl<'tcx> Key for (ty::Unevaluated<'tcx, ()>, ty::Unevaluated<'tcx, ()>) {
#[inline(always)]
fn query_crate_is_local(&self) -> bool {
(self.0).def.did.krate == LOCAL_CRATE