diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-09 20:25:11 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-05-10 10:42:57 -0400 |
| commit | 9108294a6c37c36ce561eade9d1c321a5d75bddd (patch) | |
| tree | fdd6c21c7d8333a60949a06ca2507d0822418e93 /compiler/rustc_trait_selection/src/traits/select/mod.rs | |
| parent | 534e267d488a698ee8839452377e1d3201eede65 (diff) | |
| download | rust-9108294a6c37c36ce561eade9d1c321a5d75bddd.tar.gz rust-9108294a6c37c36ce561eade9d1c321a5d75bddd.zip | |
More rename fallout
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/select/mod.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/select/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs index b95f784cd9b..50353a1fd2f 100644 --- a/compiler/rustc_trait_selection/src/traits/select/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/select/mod.rs @@ -13,8 +13,8 @@ use super::util; use super::util::closure_trait_ref_and_return_type; use super::wf; use super::{ - ImplDerivedObligationCause, Normalized, Obligation, ObligationCause, ObligationCauseCode, - Overflow, PolyTraitObligation, PredicateObligation, Selection, SelectionError, SelectionResult, + ImplDerivedCause, Normalized, Obligation, ObligationCause, ObligationCauseCode, Overflow, + PolyTraitObligation, PredicateObligation, Selection, SelectionError, SelectionResult, TraitQueryMode, }; @@ -2771,7 +2771,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> { cause.clone() } else { cause.clone().derived_cause(parent_trait_pred, |derived| { - ObligationCauseCode::ImplDerived(Box::new(ImplDerivedObligationCause { + ObligationCauseCode::ImplDerived(Box::new(ImplDerivedCause { derived, impl_or_alias_def_id: def_id, impl_def_predicate_index: Some(index), |
