about summary refs log tree commit diff
path: root/tests/rustdoc-json/impls
AgeCommit message (Collapse)AuthorLines
2025-06-16rustdoc: `{Meta,Pointee,}Sized` in non-minicoreDavid Wood-3/+9
Some rustdoc tests are `no_core` and need to have `MetaSized` and `PointeeSized` added to them.
2025-04-20rustdoc-json: Improve test for auto-trait implsAlona Enraght-Moony-2/+4
2025-04-18Add regression test for span 1-indexed checkGuillaume Gomez-2/+2
2025-03-21tests/rustdoc-json: replace `$.index[*][?` with `$.index[?`Alona Enraght-Moony-71/+71
Done automatically with VSCode.
2024-12-01rustdoc-json: Add test for `impl Trait for dyn Trait`Alona Enraght-Moony-0/+15
2024-10-22Rename Receiver -> LegacyReceiverAdrian Taylor-2/+2
As part of the "arbitrary self types v2" project, we are going to replace the current `Receiver` trait with a new mechanism based on a new, different `Receiver` trait. This PR renames the old trait to get it out the way. Naming is hard. Options considered included: * HardCodedReceiver (because it should only be used for things in the standard library, and hence is sort-of hard coded) * LegacyReceiver * TargetLessReceiver * OldReceiver These are all bad names, but fortunately this will be temporary. Assuming the new mechanism proceeds to stabilization as intended, the legacy trait will be removed altogether. Although we expect this trait to be used only in the standard library, we suspect it may be in use elsehwere, so we're landing this change separately to identify any surprising breakages. It's known that this trait is used within the Rust for Linux project; a patch is in progress to remove their dependency. This is a part of the arbitrary self types v2 project, https://github.com/rust-lang/rfcs/pull/3519 https://github.com/rust-lang/rust/issues/44874 r? @wesleywiser
2024-09-01rustdoc: normalise type/field names in rustdoc-json-types/jsondoclintschvv31n-5/+5
2024-08-08rustdoc-json: added a test for #107278schvv31n-0/+10
2024-07-19Update all rustdoc-json/ tests to use the new styleLeón Orell Valerian Liehr-64/+64
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-5/+5
2023-11-07tests/rustdoc-json: Rewrite tests no not use `#![no_core]`.Alona Enraght-Moony-22/+17
2023-11-07tests/rustdoc-json: Remove some needless uses of `#![no_core]`.Alona Enraght-Moony-21/+3
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-3/+6
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-05-22Serialize all enums as externally tagged to guarantee compatibility with ↵Luca Palmieri-26/+26
binary formats such as bincode or postcard
2023-05-15rustdoc-json: Add tests for visibility of implsAlona Enraght-Moony-0/+81
2023-03-30Update tests for rustc_doc_primitiveGuillaume Gomez-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+139