rust/tests/rustdoc-json
Matthias Krüger defc245d06
Rollup merge of #129123 - aDotInTheVoid:rustdoc-json-self, r=fmease
rustdoc-json: Add test for `Self` type

Inspired by #128471, the rustdoc-json suite had no tests in place for the `Self` type. This PR adds one.

I've also manually checked locally that this test passes on 29e924841f, confirming that adding `clean::Type::SelfTy` didn't change the JSON output. (potentially adding a self type to json (insead of (ab)using generic) is tracked in #128522)

Updates #81359

r? ````````@fmease````````
2024-08-31 10:08:52 +02:00
..
enums Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
fn_pointer Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
fns Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
generic-associated-types Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
impls rustdoc-json: added a test for #107278 2024-08-08 17:55:52 +01:00
intra-doc-links Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
lifetime Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
methods Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
primitives Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
reexport Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
structs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
traits rustdoc-json: Add test for `Self` type 2024-08-15 13:07:23 +00:00
type Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
unions Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
assoc_items.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
assoc_type.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
blanket_impls.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
doc_hidden_failure.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
generic_impl.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
glob_import.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
impl-trait-in-assoc-type.rs rustdoc: Add test for `impl_trait_in_accos_type` 2024-08-01 15:48:22 +00:00
impl-trait-precise-capturing.rs Stabilize opaque type precise capturing 2024-08-17 12:33:29 -04:00
keyword.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
keyword_private.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
nested.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
non_lifetime_binders.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
output_generics.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
pub_mod_in_private_mod.rs rustdoc: fixed #101105 2024-08-08 17:13:15 +01:00
return_private.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
stripped_modules.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
the_smallest.rs rustdoc-json: discard non-local inherent impls 2024-08-05 11:19:22 +01:00
trait_alias.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
type_alias.rs Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00