basic lint v2 implemented

This commit is contained in:
Arthur Lafrance 2023-09-25 00:15:00 -07:00
parent 8769e02d0b
commit f77dea89e1
8 changed files with 69 additions and 43 deletions

View file

@ -900,6 +900,12 @@ pub struct QueryInstability {
pub query: Symbol,
}
#[derive(LintDiagnostic)]
#[diag(lint_span_use_eq_ctxt)]
pub struct SpanUseEqCtxtDiag<'a> {
pub msg: &'a str,
}
#[derive(LintDiagnostic)]
#[diag(lint_tykind_kind)]
pub struct TykindKind {