Only use implied bounds hack if bevy, and use deeply normalize in implied bounds hack
This commit is contained in:
parent
fd17deacce
commit
d759958131
19 changed files with 264 additions and 269 deletions
|
@ -2262,22 +2262,13 @@ rustc_queries! {
|
|||
desc { "normalizing `{}`", goal.value }
|
||||
}
|
||||
|
||||
query implied_outlives_bounds_compat(
|
||||
goal: CanonicalImpliedOutlivesBoundsGoal<'tcx>
|
||||
) -> Result<
|
||||
&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
|
||||
NoSolution,
|
||||
> {
|
||||
desc { "computing implied outlives bounds for `{}`", goal.canonical.value.value.ty }
|
||||
}
|
||||
|
||||
query implied_outlives_bounds(
|
||||
goal: CanonicalImpliedOutlivesBoundsGoal<'tcx>
|
||||
key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool)
|
||||
) -> Result<
|
||||
&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
|
||||
NoSolution,
|
||||
> {
|
||||
desc { "computing implied outlives bounds v2 for `{}`", goal.canonical.value.value.ty }
|
||||
desc { "computing implied outlives bounds for `{}` (hack disabled = {:?})", key.0.canonical.value.value.ty, key.1 }
|
||||
}
|
||||
|
||||
/// Do not call this query directly:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue