Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/TraitRef/projection
This commit is contained in:
parent
06c072f158
commit
f26cc349d9
35 changed files with 144 additions and 84 deletions
|
@ -220,7 +220,7 @@ impl<'tcx> ConstToPat<'tcx> {
|
|||
tcx,
|
||||
ObligationCause::dummy(),
|
||||
self.param_env,
|
||||
ty::TraitRef::new(
|
||||
ty::TraitRef::new_from_args(
|
||||
tcx,
|
||||
partial_eq_trait_id,
|
||||
tcx.with_opt_host_effect_param(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue