diff options
| author | lcnr <rust@lcnr.de> | 2023-08-03 14:16:26 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2023-08-03 14:16:26 +0200 |
| commit | a090b4548d9956c4ac4c826a8fea6f3891707629 (patch) | |
| tree | fdf6384c13572798afc46801425a7e7176409c53 /compiler/rustc_trait_selection/src/solve/eval_ctxt | |
| parent | c115ec11d2087050dc12c5c83959979aa98bb3e5 (diff) | |
| download | rust-a090b4548d9956c4ac4c826a8fea6f3891707629.tar.gz rust-a090b4548d9956c4ac4c826a8fea6f3891707629.zip | |
avoid more `ty::Binder:dummy`
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve/eval_ctxt')
| -rw-r--r-- | compiler/rustc_trait_selection/src/solve/eval_ctxt/select.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/eval_ctxt/select.rs b/compiler/rustc_trait_selection/src/solve/eval_ctxt/select.rs index 8a3c7b22e32..2b46e5b8b01 100644 --- a/compiler/rustc_trait_selection/src/solve/eval_ctxt/select.rs +++ b/compiler/rustc_trait_selection/src/solve/eval_ctxt/select.rs @@ -269,7 +269,7 @@ fn rematch_unsize<'tcx>( infcx.tcx, ObligationCause::dummy(), goal.param_env, - ty::Binder::dummy(ty::OutlivesPredicate(a_ty, region)), + ty::OutlivesPredicate(a_ty, region), )); Ok(Some(ImplSource::Builtin(source, nested))) |
