Implement lint against Symbol::intern
on a string literal
This commit is contained in:
parent
c322cd5c5a
commit
72d2db7bf4
6 changed files with 54 additions and 2 deletions
|
@ -907,6 +907,11 @@ pub(crate) struct QueryUntracked {
|
|||
#[diag(lint_span_use_eq_ctxt)]
|
||||
pub(crate) struct SpanUseEqCtxtDiag;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_symbol_intern_string_literal)]
|
||||
#[help]
|
||||
pub(crate) struct SymbolInternStringLiteralDiag;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_tykind_kind)]
|
||||
pub(crate) struct TykindKind {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue