Skip to content

Commit a418e39

Browse files
committedJan 24, 2023
no without_constness
1 parent 2f924b0 commit a418e39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

Diff for: ‎compiler/rustc_trait_selection/src/solve/project_goals.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,7 @@ impl<'tcx> assembly::GoalKind<'tcx> for ProjectionPredicate<'tcx> {
432432
let sized_predicate = ty::Binder::dummy(tcx.at(DUMMY_SP).mk_trait_ref(
433433
LangItem::Sized,
434434
[ty::GenericArg::from(goal.predicate.self_ty())],
435-
))
436-
.without_const();
435+
));
437436

438437
let mut nested_goals = ecx.infcx.eq(
439438
goal.param_env,

0 commit comments

Comments
 (0)
Please sign in to comment.