no without_constness
This commit is contained in:
parent
2f924b0e3c
commit
a418e39b75
@ -432,8 +432,7 @@ impl<'tcx> assembly::GoalKind<'tcx> for ProjectionPredicate<'tcx> {
|
|||||||
let sized_predicate = ty::Binder::dummy(tcx.at(DUMMY_SP).mk_trait_ref(
|
let sized_predicate = ty::Binder::dummy(tcx.at(DUMMY_SP).mk_trait_ref(
|
||||||
LangItem::Sized,
|
LangItem::Sized,
|
||||||
[ty::GenericArg::from(goal.predicate.self_ty())],
|
[ty::GenericArg::from(goal.predicate.self_ty())],
|
||||||
))
|
));
|
||||||
.without_const();
|
|
||||||
|
|
||||||
let mut nested_goals = ecx.infcx.eq(
|
let mut nested_goals = ecx.infcx.eq(
|
||||||
goal.param_env,
|
goal.param_env,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user