about summary refs log tree commit diff
path: root/tests/rustdoc-json
AgeCommit message (Collapse)AuthorLines
2023-11-09rustdoc-json: Fix test so it actuall checks thingsAlona Enraght-Moony-2/+3
After #111427, no item has a `kind` field, so these assertions could never fail. Instead, assert that those two items arn't present.
2023-11-08Rollup merge of #117713 - GuillaumeGomez:document-hidden-json, r=notriddleGuillaume Gomez-0/+10
Add test for reexported hidden item with `--document-hidden-items` Coming from [this discussion on zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/Using.20cargo-semver-checks.20in.20rustdoc.20JSON.20tests.3A.20revisited). cc ``@aDotInTheVoid`` r? ``@notriddle``
2023-11-08Add test for reexported hidden item with `--document-hidden-items`Guillaume Gomez-0/+10
2023-11-07tests/rustdoc-json: Rewrite tests no not use `#![no_core]`.Alona Enraght-Moony-37/+31
2023-11-07tests/rustdoc-json: Remove more needless uses of `#![no_core]`.Alona Enraght-Moony-39/+1
These were'nt done with regex, but don't require changes to assertions.
2023-11-07tests/rustdoc-json: Remove some needless uses of `#![no_core]`.Alona Enraght-Moony-126/+9
Done by removing all uses of `#![no_core]`, and the reverting the ones that failed. More involved ones are in a later commit.
2023-10-31Accept less invalid Rust in rustdocOli Scherer-8/+23
2023-08-23Fix rustdoc-json testsNoah Lev-97/+97
2023-08-09rustdoc-json: Add tests for field/variant ordering.Alona Enraght-Moony-0/+154
2023-08-03Handle inherent associated types falloutLeón Orell Valerian Liehr-13/+16
2023-07-18Auto merge of #113574 - GuillaumeGomez:rustdoc-json-strip-hidden-impl, ↵bors-0/+50
r=aDotInTheVoid,notriddle Strip impl if not re-exported and is doc(hidden) Part of #112852. r? `@aDotInTheVoid`
2023-07-17Improve issue-112852 testsGuillaume Gomez-2/+12
2023-07-14Add more tests for not-reexported implGuillaume Gomez-0/+26
2023-07-14Add regression test for #112852Guillaume Gomez-0/+14
2023-07-14rustdoc-json: Add test for private supertrait.Alona Enraght-Moony-0/+15
2023-05-22Serialize all enums as externally tagged to guarantee compatibility with ↵Luca Palmieri-711/+701
binary formats such as bincode or postcard
2023-05-15rustdoc-json: Add tests for visibility of implsAlona Enraght-Moony-0/+81
2023-05-13rustdoc-json: Add tests for `#![feature(inherent_associated_types)]`Alona Enraght-Moony-0/+83
2023-04-29Update testsGary Guo-3/+0
2023-04-14Move test from rustdoc-ui to rustdoc-jsonAlona Enraght-Moony-0/+26
2023-03-30Update tests for rustc_doc_primitiveGuillaume Gomez-8/+8
2023-03-28rustdoc + rustdoc-json support for non_lifetime_bindersMichael Goulet-0/+24
2023-03-18Add test for `c_variadic` in rustdoc-jsonAlona Enraght-Moony-0/+9
2023-02-18Add regression test for #107677Guillaume Gomez-0/+25
2023-01-11Move /src/test to /testsAlbert Larsan-0/+2125