rust/clippy_config/src
Alejandra González 8298da72e7
Add new lint doc_include_without_cfg (#13625)
It's becoming more and more common to see people including markdown
files in their code using `doc = include_str!("...")`, which is great.
However, often there is no condition on this include, which is not great
because it slows down compilation and might trigger recompilation if
these files are updated.

This lint aims at fixing this situation.

changelog: Add new lint `doc_include_without_cfg`
2024-11-21 21:48:57 +00:00
..
conf.rs Add new lint doc_include_without_cfg (#13625) 2024-11-21 21:48:57 +00:00
lib.rs Move create_disallowed_map to clippy_config 2024-11-15 19:30:29 +01:00
metadata.rs Merge commit 'cb806113e0' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
types.rs Move create_disallowed_map to clippy_config 2024-11-15 19:30:29 +01:00