Require parentheses to avoid confusions around labeled break and loop expressions
This commit is contained in:
parent
7069a8c2b7
commit
470cbc0e2e
6 changed files with 152 additions and 21 deletions
|
@ -304,6 +304,7 @@ pub enum BuiltinLintDiagnostics {
|
|||
OrPatternsBackCompat(Span, String),
|
||||
ReservedPrefix(Span),
|
||||
TrailingMacro(bool, Ident),
|
||||
BreakWithLabelAndLoop(Span),
|
||||
}
|
||||
|
||||
/// Lints that are buffered up early on in the `Session` before the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue