Files
rust/tests/ui/typeck
bors c315891193 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
2026-05-31 06:42:33 +00:00
..
2026-03-09 09:11:06 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-17 14:53:14 +00:00
2026-02-17 16:51:44 +00:00
2025-12-16 02:10:08 +09:00