//@ edition: 2021 struct Ty; impl TryFrom for u8 { type Error = Ty; fn try_from(_: Ty) -> Result { loop {} } } impl TryFrom for u8 { //~^ ERROR conflicting implementations of trait type Error = Ty; fn try_from(_: Ty) -> Result { loop {} } } fn main() {}