File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ of these as just "lints."
17
17
First, we have the lint declarations themselves: this is where the name and
18
18
default lint level and other metadata come from. These are normally defined by
19
19
way of the [ ` declare_lint! ` ] macro, which boils down to a static with type
20
- ` &rustc_lint ::Lint` .
20
+ [ ` &rustc_lint_defs ::Lint` ] .
21
21
22
22
As of <!-- date-check --> February 2022, we lint against direct declarations
23
23
without the use of the macro today (although this may change in the future, as
@@ -132,3 +132,4 @@ approach, it is beneficial to do so for performance reasons.
132
132
[ `declare_lint!` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/macro.declare_lint.html
133
133
[ `declare_tool_lint!` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/macro.declare_tool_lint.html
134
134
[ `register_lints` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/interface/struct.Config.html#structfield.register_lints
135
+ [ `&rustc_lint_defs::Lint` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint_defs/struct.Lint.html
You can’t perform that action at this time.
0 commit comments