Skip to content

Commit c718ae8

Browse files
committed
Add Nursery and Deprecated lints section at Book
1 parent c2d23ad commit c718ae8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

book/src/lints.md

+13
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,18 @@ The `clippy::cargo` group gives you suggestions on how to improve your
101101
your crate and are not sure if you have all useful information in your
102102
`Cargo.toml`.
103103

104+
## Nursery
105+
106+
The `clippy::nursery` group contains lints which are buggy or need more work. It is **not**
107+
recommended to enable the whole group, but rather cherry-pick lints that are useful for your
108+
code base and your use case.
109+
110+
## Deprecated
111+
112+
The `clippy::deprecated` is empty lints that exist to ensure that `#[allow(lintname)]` still
113+
compiles after the lint was deprecated. Deprecation "removes" lints by removing their
114+
functionality and marking them as deprecated, which may cause further warnings but cannot
115+
cause a compiler error.
116+
104117
[Clippy lint documentation]: https://rust-lang.github.io/rust-clippy/
105118
[Clippy 1.0 RFC]: https://github.com/rust-lang/rfcs/blob/master/text/2476-clippy-uno.md#lint-audit-and-categories

0 commit comments

Comments
 (0)