Skip to content

Commit 4773de1

Browse files
committed
Auto merge of #157175 - Unique-Usman:ua/syntatic, r=JonathanBrouwer,Kivooeo
Don't suggest semicolon after if expression closing brace 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. Fix: rust-lang/rust#156621
2 parents c372723 + 6971803 commit 4773de1

0 file changed

File tree

    0 commit comments

    Comments
     (0)