Skip to content

Commit

Permalink
Rollup merge of #137600 - davidtwco:predicate-polarity-comment, r=fmease
Browse files Browse the repository at this point in the history
type_ir: remove redundant part of comment

This comment refers to a `PredicatePolarity::Reserved` which no longer exists.
  • Loading branch information
fmease authored Feb 25, 2025
2 parents 1511ccd + 86b53db commit 65152e7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/rustc_type_ir/src/predicate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ pub struct TraitPredicate<I: Interner> {
/// If polarity is Negative: we are proving that a negative impl of this trait
/// exists. (Note that coherence also checks whether negative impls of supertraits
/// exist via a series of predicates.)
///
/// If polarity is Reserved: that's a bug.
pub polarity: PredicatePolarity,
}

Expand Down

0 comments on commit 65152e7

Please sign in to comment.