about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-17 12:32:47 +0200
committerGitHub <noreply@github.com>2022-08-17 12:32:47 +0200
commit0491fdad6f0c039dcfbf6543be6397df763cb8ab (patch)
tree3bfb0dd29931d0fe4ae08337616e57f208e39b4a /compiler/rustc_mir_transform/src/coverage/query.rs
parent86c6ebee8fa0a5ad1e18e375113b06bd2849b634 (diff)
parent760b9726722a5cb5277f4330b6d9c5db008937e8 (diff)
downloadrust-0491fdad6f0c039dcfbf6543be6397df763cb8ab.tar.gz
rust-0491fdad6f0c039dcfbf6543be6397df763cb8ab.zip
Rollup merge of #99474 - aDotInTheVoid:rustdoc-json-noinline-test-cleanup, r=CraftSpider
Rustdoc json tests: New @hasexact test command

Alot of the time, we wanted to assert that a module had an exact set of items. Most of the time this was done by asserting that the ```@count``` of the module was `n`, and then doing `n` ```@has``` checks on the module.

This was tedious, so often shortcuts were done.

This PR adds a new command to jsondocck to allow consistently expressing this behavior, and then uses it to clean up the tests.

``@rustbot`` modify labels: +A-rustdoc-json +A-testsuite
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions