no without_constness

This commit is contained in:
Boxy 2023-01-24 23:32:47 +00:00
parent 2f924b0e3c
commit a418e39b75

View File

@ -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(
LangItem::Sized,
[ty::GenericArg::from(goal.predicate.self_ty())],
))
.without_const();
));
let mut nested_goals = ecx.infcx.eq(
goal.param_env,