Skip to content

Commit

Permalink
Unrolled build for rust-lang#122082
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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.
  • Loading branch information
rust-timer committed Mar 7, 2024
2 parents d03b986 + 1061c8d commit 218e546
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
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 218e546

Please sign in to comment.