rust/tests/ui/return/tail-expr-if-as-return.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
80 B
Rust
Raw Normal View History

2024-05-16 21:10:07 +08:00
fn main() {
if true {
"" //~ ERROR mismatched types [E0308]
}
}