Commit 91d7c57
authored
Rework
This is blocking #14724 as it triggers the debug
assertions it adds.
The inter item span parsing was introduced to solve
#12197. This is better handled by just not linting
anything within bodies.
changelog: [`missing_docs_in_private_items`]: Don't lint items in bodies
and automatically derived impls
changelog: [`missing_docs_in_private_items`]: Better detect when things
are accessible from the crate root
changelog: [`missing_docs_in_private_items`]: Lint unnameable items
which are accessible outside the cratemissing_docs_in_private_items (#14741)File tree
20 files changed
+3237
-833
lines changed- clippy_lints/src
- clippy_utils/src
- tests
- ui-toml
- missing_docs_allow_unused
- missing_docs_in_private_items
- allow_unused
- crate_root
- default
- pub_crate_missing_docs
- ui
20 files changed
+3237
-833
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
269 | 276 | | |
270 | 277 | | |
271 | 278 | | |
| |||
Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 0 additions & 38 deletions
This file was deleted.
Whitespace-only changes.
0 commit comments