Skip to content

Commit

Permalink
no without_constness
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxyUwU committed Jan 24, 2023
1 parent 2f924b0 commit a418e39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/rustc_trait_selection/src/solve/project_goals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a418e39

Please sign in to comment.