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