Open
Description
trait Tr {
fn f() -> Result<(), ()>;
}
impl Tr for () {
fn f() -> $0Result<(), ()> {
todo!()
}
}
This offers the "Unwrap Result
return type", which removes the return type here, but this is wrong in a trait impl if the trait isn't also modified (which requires fixing up every impl of it).