Combination of try blocks, never type, and rustfmt is broken #140361
Labels
A-rustfmt
Area: Rustfmt
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
Consider this code:
It compiles.
Rustfmt adds a semicolon here:
This causes a compilation error:
I'm not sure if rustfmt shouldn't add a semicolon here or if rustc should accept a semicolon.
Playground link
Meta
The text was updated successfully, but these errors were encountered: