diff options
| author | Alejandra González <blyxyas@gmail.com> | 2024-11-21 21:48:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-21 21:48:57 +0000 |
| commit | 8298da72e7b81fa30c515631b40fc4c0845948cb (patch) | |
| tree | e95c303f8abadf362a86bfc87d7dc93a83653e06 /tests/coverage/branch/lazy-boolean.rs | |
| parent | a19d69d27396073fccee6a206b932d0bbb873a10 (diff) | |
| parent | 404e47aa84b16cab60008cb74eead08475e83960 (diff) | |
| download | rust-8298da72e7b81fa30c515631b40fc4c0845948cb.tar.gz rust-8298da72e7b81fa30c515631b40fc4c0845948cb.zip | |
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`
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions
