about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.coverage
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2024-11-21 21:48:57 +0000
committerGitHub <noreply@github.com>2024-11-21 21:48:57 +0000
commit8298da72e7b81fa30c515631b40fc4c0845948cb (patch)
treee95c303f8abadf362a86bfc87d7dc93a83653e06 /tests/coverage/branch/lazy-boolean.coverage
parenta19d69d27396073fccee6a206b932d0bbb873a10 (diff)
parent404e47aa84b16cab60008cb74eead08475e83960 (diff)
downloadrust-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.coverage')
0 files changed, 0 insertions, 0 deletions