blob: befd768b1818a6322d9b170107a889d2319b89ec [file] [log] [blame] [edit]
fn test() -> impl std::fmt::Debug {
if true {
"boo2"
} else {
//~^ ERROR `if` and `else` have incompatible types
}
}
fn main() {}