Skip to content

Commit

Permalink
Rollup merge of rust-lang#122082 - fee1-dead-contrib:rm-outdated-note…
Browse files Browse the repository at this point in the history
…, 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.
  • Loading branch information
matthiaskrgr authored Mar 6, 2024
2 parents f3a619a + 1061c8d commit 7cf69c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_trait_selection/src/solve/trait_goals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ impl<'tcx> assembly::GoalKind<'tcx> for TraitPredicate<'tcx> {
if trait_clause.def_id() == goal.predicate.def_id()
&& trait_clause.polarity() == goal.predicate.polarity
{
// FIXME: Constness
ecx.probe_misc_candidate("assumption").enter(|ecx| {
let assumption_trait_pred = ecx.instantiate_binder_with_infer(trait_clause);
ecx.eq(
Expand Down

0 comments on commit 7cf69c0

Please sign in to comment.