rust/tests/ui/return/tail-expr-if-as-return.rs
2024-05-16 21:10:07 +08:00

6 lines
80 B
Rust

fn main() {
if true {
"" //~ ERROR mismatched types [E0308]
}
}