redundant_semicolons
gets confused by macros
#142143
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Using the following flags
--force-warn redundant_semicolons
this code:
caused the following diagnostics:
However after applying these diagnostics, the resulting code:
no longer compiled:
Version:
The text was updated successfully, but these errors were encountered: