Skip to content

Commit

Permalink
date-check: lintstore
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Aug 19, 2022
1 parent fe209b1 commit 6596389
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/diagnostics/lintstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ default lint level and other metadata come from. These are normally defined by
way of the [`declare_lint!`] macro, which boils down to a static with type
[`&rustc_lint_defs::Lint`].

As of <!-- date-check --> February 2022, we lint against direct declarations
without the use of the macro today (although this may change in the future, as
the macro is somewhat unwieldy to add new fields to, like all macros).
As of <!-- date-check --> Aug 2022,
we lint against direct declarations without the use of the macro.
(although this may change in the future,
as the macro is somewhat unwieldy to add new fields to, like all macros).

Lint declarations don't carry any "state" - they are merely global identifiers
and descriptions of lints. We assert at runtime that they are not registered
Expand Down

0 comments on commit 6596389

Please sign in to comment.