1
Fork 0

Improve diagnostic of the unexpected_cfgs lint

This commit is contained in:
Loïc BRANSTETT 2022-02-20 00:48:10 +01:00
parent fbe1c153ec
commit 3d234770b1
7 changed files with 57 additions and 7 deletions

View file

@ -310,6 +310,7 @@ pub enum BuiltinLintDiagnostics {
BreakWithLabelAndLoop(Span),
NamedAsmLabel(String),
UnicodeTextFlow(Span, String),
UnexpectedCfg(Span, Symbol, Option<Symbol>),
}
/// Lints that are buffered up early on in the `Session` before the