about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-479/+0
2021-11-24Create rustdoc_internals feature gateGuillaume Gomez-2/+1
2021-09-10Add test for enum tuple variants and tuple struct doc countGuillaume Gomez-2/+71
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-16feature gate doc(primitive)Joshua Nelson-0/+1
2021-07-29Rollup merge of #87451 - GuillaumeGomez:tuple-struct-field-doc, r=jyn514Yuki Okushi-2/+2
Add support for tuple struct field documentation Fixes #42615. This is #80320 updated to new codebase and with added tests. Part of https://github.com/rust-lang/rust/issues/83255. cc ```@camelid``` (since you were involved on the original PR). r? ```@jyn514```
2021-07-27Make all tests use type_alias_impl_trait feature instead of minSantiago Pastorino-1/+1
2021-07-26Add test for enum item tuple fields documentationGuillaume Gomez-2/+2
2021-04-09Add back missing trait testJoshua Nelson-9/+8
Rustdoc has been able to deal with `impl trait` for almost a year now.
2021-04-09rustdoc: Don't generate blanket impls when running --show-coverageJoshua Nelson-0/+1
get_blanket_impls is the slowest part of rustdoc, and the coverage pass completely ignores blanket impls. This stops running it at all, and also removes some unnecessary checks in `calculate_doc_coverage` that ignored the impl anyway. We don't currently measure --show-coverage in perf.rlo, but I tested this locally on cargo and it brought the time down from 2.9 to 1.6 seconds.
2021-01-13Update tests for extern block lintingMark Rousskov-1/+1
2020-11-26Update coverage output now that primitives have proper spansJoshua Nelson-2/+1
2020-10-12Extend test to ensure that items inherit lint level from the parentGuillaume Gomez-0/+2
2020-10-12Apply same treatment to MISSING_DOC_CODE_EXAMPLESGuillaume Gomez-0/+20
2020-10-12Inherit lint level from parentsGuillaume Gomez-2/+10
2020-10-12rustdoc: skip allow missing doc in cover. reportRoman-0/+38
During the document coverage reporting with ```bash rustdoc something.rs -Z unstable-options --show-coverage ``` the coverage report also includes parts of the code that are marked with `#[allow(missing_docs)]`, which outputs lower numbers in the coverage report even though these parts should be ignored for the calculation. Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-12Add test for ignored private doc testGuillaume Gomez-2/+2
2020-08-20Update how doc examples are countedGuillaume Gomez-8/+31
2020-08-20Remove "total" columns in --show-coverage outputGuillaume Gomez-58/+49
2020-08-20Update rustdoc coverage UI testGuillaume Gomez-2/+40
2020-08-18Update rustdoc-ui testsGuillaume Gomez-51/+85
2020-04-19Moving all rustdoc-ui tests to check-passVal Markovic-8/+8
These were all build-pass before and don't seem to need it. Helps with #62277
2020-03-02remove output-format testGuillaume Gomez-10/+0
2020-03-02Replace ToJson with serdeGuillaume Gomez-8/+18
2020-03-02add tests for rustdoc output-format jsonGuillaume Gomez-0/+34
2019-08-02Replace `abstract type` with type alias `impl Trait`varkor-1/+1
2019-08-02Replace "existential" by "opaque"varkor-3/+4
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-7/+7
2019-02-28update rustdoc coverage tests with new table layoutQuietMisdreavus-80/+51
2019-02-28add tests for doc coverageQuietMisdreavus-0/+251