use std::ops::DerefMut; trait Foo {} impl Foo for T {} impl Foo for &U {} //~^ ERROR: conflicting implementations of trait `Foo` for type `&_` [E0119] fn main() {}