Skip to content

Commit fe209b1

Browse files
committed
address review comment
#1429 (comment)
1 parent 3c27439 commit fe209b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/diagnostics/lintstore.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ of these as just "lints."
1717
First, we have the lint declarations themselves: this is where the name and
1818
default lint level and other metadata come from. These are normally defined by
1919
way of the [`declare_lint!`] macro, which boils down to a static with type
20-
`&rustc_lint::Lint`.
20+
[`&rustc_lint_defs::Lint`].
2121

2222
As of <!-- date-check --> February 2022, we lint against direct declarations
2323
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.
132132
[`declare_lint!`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/macro.declare_lint.html
133133
[`declare_tool_lint!`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/macro.declare_tool_lint.html
134134
[`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

0 commit comments

Comments
 (0)