Improve diagnostic of the unexpected_cfgs lint
This commit is contained in:
parent
fbe1c153ec
commit
3d234770b1
7 changed files with 57 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue