rust/src/test/rustdoc-json
Matthias Krüger cbf1a0ed3a
Rollup merge of #105063 - aDotInTheVoid:rdj-dont-assume-core, r=notriddle
Rustdoc Json Tests: Don't assume that core::fmt::Debug will always have one item.

See https://github.com/rust-lang/rust/pull/104525#issuecomment-1330837047 and https://github.com/rust-lang/rust/pull/104525#issuecomment-1331087852 for motivation.

This still assumes that `fmt` is the first method, but thats alot less brittle than assuming it will be the only method.

Sadly, we can't use a aux crate to insulate the tests from core changes, because core is special, so all we can do is try not to depend on things that may change.
2022-11-30 19:53:18 +01:00
..
enums Rustdoc-Json: Add tests for linking to foreign variants. 2022-11-28 19:34:13 +00:00
fn_pointer Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
fns Rollup merge of #103065 - aDotInTheVoid:rdj-arg-pattern, r=GuillaumeGomez 2022-11-30 19:53:17 +01:00
generic-associated-types Stabilize GATs 2022-08-30 23:06:24 -04:00
impls rustdoc JSON: Use Function everywhere and remove Method 2022-11-16 20:24:03 +01:00
intra-doc-links Rustdoc-Json: Correcty handle intra-doc-links to items without HTML page 2022-09-10 00:40:30 +01:00
lifetime Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
methods Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
primitives Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
reexport Add regression test for missing item from private mod in JSON output 2022-10-29 11:56:08 +02:00
structs Rustdoc-Json: More accurate struct type. 2022-09-07 09:42:23 +01:00
traits Don't assume that core::fmt::Debug will always have one item. 2022-11-29 18:27:16 +00:00
type Rustdoc-Json: Add test for extern_types 2022-09-14 16:14:15 +01:00
unions Document that ResolvedPath can also be a union 2022-09-16 19:51:58 +01:00
assoc_items.rs Rustdoc-Json Tests: Use @is and @ismany more often. 2022-09-10 01:30:47 +01:00
assoc_type.rs Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
blanket_impls.rs Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
doc_hidden_failure.rs Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
generic_impl.rs Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
glob_import.rs Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
keyword.rs Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
nested.rs Rustdoc-Json: More accurate struct type. 2022-09-07 09:42:23 +01:00
output_generics.rs Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
return_private.rs Update rustdoc-json test files 2022-08-18 11:00:21 +02:00
stripped_modules.rs Rustdoc-Json: Retain Stripped Modules when they are imported, not when they have items. 2022-08-29 00:15:10 +01:00