diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-17 12:32:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-17 12:32:47 +0200 |
| commit | 0491fdad6f0c039dcfbf6543be6397df763cb8ab (patch) | |
| tree | 3bfb0dd29931d0fe4ae08337616e57f208e39b4a /compiler/rustc_mir_transform/src/coverage/query.rs | |
| parent | 86c6ebee8fa0a5ad1e18e375113b06bd2849b634 (diff) | |
| parent | 760b9726722a5cb5277f4330b6d9c5db008937e8 (diff) | |
| download | rust-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
