Improve check-cfg diagnostics (part 2)
This commit is contained in:
parent
a5f8dba4cd
commit
53647845b9
12 changed files with 192 additions and 47 deletions
|
@ -496,7 +496,8 @@ pub enum BuiltinLintDiagnostics {
|
|||
BreakWithLabelAndLoop(Span),
|
||||
NamedAsmLabel(String),
|
||||
UnicodeTextFlow(Span, String),
|
||||
UnexpectedCfg((Symbol, Span), Option<(Symbol, Span)>),
|
||||
UnexpectedCfgName((Symbol, Span), Option<(Symbol, Span)>),
|
||||
UnexpectedCfgValue((Symbol, Span), Option<(Symbol, Span)>),
|
||||
DeprecatedWhereclauseLocation(Span, String),
|
||||
SingleUseLifetime {
|
||||
/// Span of the parameter which declares this lifetime.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue