Add an internal lint that warns when accessing untracked data
This commit is contained in:
parent
6199b69c53
commit
040239465a
11 changed files with 82 additions and 35 deletions
|
@ -894,6 +894,13 @@ pub(crate) struct QueryInstability {
|
|||
pub query: Symbol,
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_query_untracked)]
|
||||
#[note]
|
||||
pub(crate) struct QueryUntracked {
|
||||
pub method: Symbol,
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_span_use_eq_ctxt)]
|
||||
pub(crate) struct SpanUseEqCtxtDiag;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue