Files
rust/book
Philipp Krones 714841ffdc book: describe Clippy walk up directory tree behavior when searching config (#16611)
Reading the source code at

https://github.com/rust-lang/rust-clippy/blob/b3188b8a9f0f2df2ba58bfe9001fe4fe711cff74/clippy_config/src/conf.rs#L928-L974
clearly shows that Clippy also searches parent directories when looking
for a configuration file. However, this behavior is not documented
anywhere I could see in the Clippy book, despite being useful to end
users. For example, end users can leverage this to share a single
configuration file across all member packages of a Cargo workspace.

This change adds documentation for this behavior to the Clippy book.

changelog: none
2026-02-23 12:53:39 +00:00
..

Clippy Book

This is the source for the Clippy Book. See the book for more information.