mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
When a type mismatch occurs inside an if expression, the compiler incorrectly suggests adding a semicolon after the closing brace. This doesn't fix the error. The fix excludes all if expressions from the suggest_semicolon_at_end suggestion in coercion.rs. Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>