Skip to content

Commit 86b53db

Browse files
committed
type_ir: remove redundant part of comment
This refers to a `PredicatePolarity::Reserved` which no longer exists.
1 parent ad27045 commit 86b53db

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)