//@ check-pass #![feature(const_trait_impl, effects)] //~ WARN the feature `effects` is incomplete pub const fn equals_self(t: &T) -> bool { *t == *t // FIXME(effects) ~^ ERROR mismatched types // FIXME(effects): diagnostic } fn main() {}