diff options
| author | Michael Goulet <michael@errs.io> | 2025-05-22 18:55:49 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-05-26 08:28:45 +0000 |
| commit | 3efd885927958ec8af33fbd1fa2da3d62bbae108 (patch) | |
| tree | 37f75c5f6f7fc4c919c6a4faf5db1926c8e4d9f9 /compiler/rustc_trait_selection/src/solve/delegate.rs | |
| parent | 95a2212587f1b8500af1ac630322b0cb2e030c61 (diff) | |
| download | rust-3efd885927958ec8af33fbd1fa2da3d62bbae108.tar.gz rust-3efd885927958ec8af33fbd1fa2da3d62bbae108.zip | |
Avoid obligation construction dance with query region constraints
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve/delegate.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/solve/delegate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/delegate.rs b/compiler/rustc_trait_selection/src/solve/delegate.rs index b68a7845366..e66d1c04127 100644 --- a/compiler/rustc_trait_selection/src/solve/delegate.rs +++ b/compiler/rustc_trait_selection/src/solve/delegate.rs @@ -76,7 +76,7 @@ impl<'tcx> rustc_next_trait_solver::delegate::SolverDelegate for SolverDelegate< Some(HasChanged::No) } ty::PredicateKind::Clause(ty::ClauseKind::TypeOutlives(outlives)) => { - self.0.register_region_obligation_with_cause( + self.0.type_outlives_predicate_with_cause( outlives.0, outlives.1, &ObligationCause::dummy_with_span(span), |
