mirror of
https://github.com/rust-lang/rust.git
synced 2026-07-29 02:45:34 -04:00
When encountering an `if` expression with no `else` where the then block has a tail expression, we emit an E0308 type error. We now explain why `()` was expected.