Skip to content

Commit 65152e7

Browse files
authored
Rollup merge of rust-lang#137600 - davidtwco:predicate-polarity-comment, r=fmease
type_ir: remove redundant part of comment This comment refers to a `PredicatePolarity::Reserved` which no longer exists.
2 parents 1511ccd + 86b53db commit 65152e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_type_ir/src/predicate.rs

-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ pub struct TraitPredicate<I: Interner> {
131131
/// If polarity is Negative: we are proving that a negative impl of this trait
132132
/// exists. (Note that coherence also checks whether negative impls of supertraits
133133
/// exist via a series of predicates.)
134-
///
135-
/// If polarity is Reserved: that's a bug.
136134
pub polarity: PredicatePolarity,
137135
}
138136

0 commit comments

Comments
 (0)