We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f924b0 commit a418e39Copy full SHA for a418e39
compiler/rustc_trait_selection/src/solve/project_goals.rs
@@ -432,8 +432,7 @@ impl<'tcx> assembly::GoalKind<'tcx> for ProjectionPredicate<'tcx> {
432
let sized_predicate = ty::Binder::dummy(tcx.at(DUMMY_SP).mk_trait_ref(
433
LangItem::Sized,
434
[ty::GenericArg::from(goal.predicate.self_ty())],
435
- ))
436
- .without_const();
+ ));
437
438
let mut nested_goals = ecx.infcx.eq(
439
goal.param_env,
0 commit comments