File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -516,6 +516,8 @@ symbols! {
516516 cmp,
517517 cmp_max,
518518 cmp_min,
519+ cmp_partialeq_eq,
520+ cmp_partialeq_ne,
519521 cmpxchg16b_target_feature,
520522 cmse_nonsecure_entry,
521523 coerce_unsized,
Original file line number Diff line number Diff line change @@ -229,13 +229,15 @@ pub trait PartialEq<Rhs: ?Sized = Self> {
229229 /// by `==`.
230230 #[ must_use]
231231 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
232+ #[ cfg_attr( not( bootstrap) , rustc_diagnostic_item = "cmp_partialeq_eq" ) ]
232233 fn eq ( & self , other : & Rhs ) -> bool ;
233234
234235 /// This method tests for `!=`. The default implementation is almost always
235236 /// sufficient, and should not be overridden without very good reason.
236237 #[ inline]
237238 #[ must_use]
238239 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
240+ #[ cfg_attr( not( bootstrap) , rustc_diagnostic_item = "cmp_partialeq_ne" ) ]
239241 fn ne ( & self , other : & Rhs ) -> bool {
240242 !self . eq ( other)
241243 }
You can’t perform that action at this time.
0 commit comments