Skip to content

Commit 75ebe83

Browse files
authored
Rollup merge of #122082 - fee1-dead-contrib:rm-outdated-note, r=compiler-errors
remove outdated fixme comment The `TraitPredicate` no longer has constness as we have desugared it to work with the type system through const generics instead.
2 parents 6279ef2 + 1061c8d commit 75ebe83

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_trait_selection/src/solve/trait_goals.rs

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ impl<'tcx> assembly::GoalKind<'tcx> for TraitPredicate<'tcx> {
102102
if trait_clause.def_id() == goal.predicate.def_id()
103103
&& trait_clause.polarity() == goal.predicate.polarity
104104
{
105-
// FIXME: Constness
106105
ecx.probe_misc_candidate("assumption").enter(|ecx| {
107106
let assumption_trait_pred = ecx.instantiate_binder_with_infer(trait_clause);
108107
ecx.eq(

0 commit comments

Comments
 (0)