Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
dont-suggest-box-on-empty-else-arm.rs
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
()
{}