#![feature(const_trait_impl)]
#![feature(const_fn_trait_bound)]
-#![allow(incomplete_features)]
struct S;
fn eq(&self, _: &S) -> bool {
true
}
+ fn ne(&self, other: &S) -> bool {
+ !self.eq(other)
+ }
}
const fn equals_self<T: PartialEq>(t: &T) -> bool {