rust-clippy/tests
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
..
test_utils
ui Add new lint doc_include_without_cfg (#13625) 2024-11-21 21:48:57 +00:00
ui-cargo Merge remote-tracking branch 'upstream/master' into rustup 2024-06-27 18:49:59 +02:00
ui-internal Rename all clippy_config::msrvs -> clippy_utils::msrvs 2024-11-15 19:38:09 +01:00
ui-toml Fix large_include_file lint being triggered all the time by doc comments 2024-11-09 13:55:20 +01:00
workspace_test Use -D warnings instead of deny-warnings feature. 2024-08-06 10:46:39 -04:00
check-fmt.rs Merge commit 'cb806113e0f83a8f9b47d35b453b676543bcc40e' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
clippy.toml Add clippy.toml to project and tests 2021-05-26 16:53:13 -05:00
compile-test.rs Merge commit 'f712eb5cdccd121d0569af12f20e6a0fabe4364d' into clippy-subtree-update 2024-11-07 22:37:01 +01:00
config-metadata.rs Merge commit 'a109190d7060236e655fc75533373fa274ec5343' into clippy-subtree-update 2024-10-18 13:44:06 +02:00
dogfood.rs Remove unused collect_metadata function 2024-09-11 13:49:04 +00:00
headers.rs Tolerate hidden, binary files in tests/ 2023-12-02 13:32:21 +00:00
integration.rs Merge commit 'cb806113e0f83a8f9b47d35b453b676543bcc40e' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
lint_message_convention.rs Merge commit 'cb806113e0f83a8f9b47d35b453b676543bcc40e' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
missing-test-files.rs Use -D warnings instead of deny-warnings feature. 2024-08-06 10:46:39 -04:00
versioncheck.rs Merge commit 'a109190d7060236e655fc75533373fa274ec5343' into clippy-subtree-update 2024-10-18 13:44:06 +02:00
workspace.rs