about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-24 15:09:33 +0000
committerbors <bors@rust-lang.org>2023-09-24 15:09:33 +0000
commit94fc43121fb9a0b3cbb1a70f3063cc131ee12cd0 (patch)
treeb2af2a1c0f6003a1441bd30ba2cc9f14d01a972b /compiler/rustc_mir_transform/src/coverage/counters.rs
parentd732cce0d39d49ad07feb45d5f6d966a69d0147c (diff)
parent6e80db96ea933676ac9b36714e3af9aaa3eedc00 (diff)
downloadrust-94fc43121fb9a0b3cbb1a70f3063cc131ee12cd0.tar.gz
rust-94fc43121fb9a0b3cbb1a70f3063cc131ee12cd0.zip
Auto merge of #11560 - y21:ui-toml-tests, r=Alexendoo
Add missing tests for configuration options

I noticed that a lot of lints didn't have test(s) for their configuration. This leads to issues like #11481 where the lint just does nothing with it.

This PR adds tests for *almost*[^1] all of the lints with a configuration that didn't have a test in ui-toml.
The tests that I wrote here are usually two cases: one for where it's right above or under the limit set by the config where it shouldn't lint and another one for right above where it should.

changelog: none

[^1]: allow-one-hash-in-raw-strings is ignored by needless_raw_string_hashes
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions