diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2024-01-17 01:10:19 -0500 |
|---|---|---|
| committer | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2024-01-17 22:03:06 -0500 |
| commit | a9e30e6cdf721df1d8085dcc3396cf14651ca69f (patch) | |
| tree | 034f460ad9ecc491fca60c9c8ccf174804f07e01 /compiler | |
| parent | acab76573fffe8a3c2578506f277a89ef772a05d (diff) | |
| download | rust-a9e30e6cdf721df1d8085dcc3396cf14651ca69f.tar.gz rust-a9e30e6cdf721df1d8085dcc3396cf14651ca69f.zip | |
Don't use compat versions of implied bounds in ImpliedOutlivesBounds query
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/query/type_op/implied_outlives_bounds.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/query/type_op/implied_outlives_bounds.rs b/compiler/rustc_trait_selection/src/traits/query/type_op/implied_outlives_bounds.rs index bdc53f895fe..2fdb63d7dee 100644 --- a/compiler/rustc_trait_selection/src/traits/query/type_op/implied_outlives_bounds.rs +++ b/compiler/rustc_trait_selection/src/traits/query/type_op/implied_outlives_bounds.rs @@ -48,14 +48,14 @@ impl<'tcx> super::QueryTypeOp<'tcx> for ImpliedOutlivesBounds<'tcx> { param_env.and(ty) }); - tcx.implied_outlives_bounds_compat(canonicalized) + tcx.implied_outlives_bounds(canonicalized) } fn perform_locally_with_next_solver( ocx: &ObligationCtxt<'_, 'tcx>, key: ParamEnvAnd<'tcx, Self>, ) -> Result<Self::QueryResponse, NoSolution> { - compute_implied_outlives_bounds_compat_inner(ocx, key.param_env, key.value.ty) + compute_implied_outlives_bounds_inner(ocx, key.param_env, key.value.ty) } } |
