Remove fully_normalize
This commit is contained in:
parent
0c81f94b9a
commit
2c8bbeebf1
4 changed files with 38 additions and 76 deletions
|
@ -42,11 +42,9 @@ impl<'tcx> At<'_, 'tcx> {
|
|||
/// same goals in both a temporary and the shared context which negatively impacts
|
||||
/// performance as these don't share caching.
|
||||
///
|
||||
/// FIXME(-Znext-solver): This has the same behavior as `traits::fully_normalize`
|
||||
/// in the new solver, but because of performance reasons, we currently reuse an
|
||||
/// existing fulfillment context in the old solver. Once we also eagerly prove goals with
|
||||
/// the old solver or have removed the old solver, remove `traits::fully_normalize` and
|
||||
/// rename this function to `At::fully_normalize`.
|
||||
/// FIXME(-Znext-solver): For performance reasons, we currently reuse an existing
|
||||
/// fulfillment context in the old solver. Once we have removed the old solver, we
|
||||
/// can remove the `fulfill_cx` parameter on this function.
|
||||
fn deeply_normalize<T, E>(
|
||||
self,
|
||||
value: T,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue