rust/tests/rustdoc
bors 6f349cdbfa Auto merge of #116471 - notriddle:notriddle/js-trait-alias, r=GuillaumeGomez
rustdoc: use JS to inline target type impl docs into alias

Preview docs:

- https://notriddle.com/rustdoc-html-demo-5/js-trait-alias/std/io/type.Result.html

- https://notriddle.com/rustdoc-html-demo-5/js-trait-alias-compiler/rustc_middle/ty/type.PolyTraitRef.html

This pull request also includes a bug fix for trait alias inlining across crates. This means more documentation is generated, and is why ripgrep runs slower (it's a thin wrapper on top of the `grep` crate, so 5% of its docs are now the Result type).

- Before, built with rustdoc 1.75.0-nightly (aa1a71e9e 2023-10-26), Result type alias method docs are missing: http://notriddle.com/rustdoc-html-demo-5/ripgrep-js-nightly/rg/type.Result.html
- After, built with this branch, all the methods on Result are shown: http://notriddle.com/rustdoc-html-demo-5/ripgrep-js-trait-alias/rg/type.Result.html

*Review note: This is mostly just reverting https://github.com/rust-lang/rust/pull/115201. The last commit has the new work in it.*

Fixes #115718

This is an attempt to balance three problems, each of which would
be violated by a simpler implementation:

- A type alias should show all the `impl` blocks for the target
  type, and vice versa, if they're applicable. If nothing was
  done, and rustdoc continues to match them up in HIR, this
  would not work.

- Copying the target type's docs into its aliases' HTML pages
  directly causes far too much redundant HTML text to be generated
  when a crate has large numbers of methods and large numbers
  of type aliases.

- Using JavaScript exclusively for type alias impl docs would
  be a functional regression, and could make some docs very hard
  to find for non-JS readers.

- Making sure that only applicable docs are show in the
  resulting page requires a type checkers. Do not reimplement
  the type checker in JavaScript.

So, to make it work, rustdoc stashes these type-alias-inlined docs
in a JSONP "database-lite". The file is generated in `write_shared.rs`,
included in a `<script>` tag added in `print_item.rs`, and `main.js`
takes care of patching the additional docs into the DOM.

The format of `trait.impl` and `type.impl` JS files are superficially
similar. Each line, except the JSONP wrapper itself, belongs to a crate,
and they are otherwise separate (rustdoc should be idempotent). The
"meat" of the file is HTML strings, so the frontend code is very simple.
Links are relative to the doc root, though, so the frontend needs to fix
that up, and inlined docs can reuse these files.

However, there are a few differences, caused by the sophisticated
features that type aliases have. Consider this crate graph:

```text
 ---------------------------------
 | crate A: struct Foo<T>        |
 |          type Bar = Foo<i32>  |
 |          impl X for Foo<i8>   |
 |          impl Y for Foo<i32>  |
 ---------------------------------
     |
 ----------------------------------
 | crate B: type Baz = A::Foo<i8> |
 |          type Xyy = A::Foo<i8> |
 |          impl Z for Xyy        |
 ----------------------------------
```

The type.impl/A/struct.Foo.js JS file has a structure kinda like this:

```js
JSONP({
"A": [["impl Y for Foo<i32>", "Y", "A::Bar"]],
"B": [["impl X for Foo<i8>", "X", "B::Baz", "B::Xyy"], ["impl Z for Xyy", "Z", "B::Baz"]],
});
```

When the type.impl file is loaded, only the current crate's docs are
actually used. The main reason to bundle them together is that there's
enough duplication in them for DEFLATE to remove the redundancy.

The contents of a crate are a list of impl blocks, themselves
represented as lists. The first item in the sublist is the HTML block,
the second item is the name of the trait (which goes in the sidebar),
and all others are the names of type aliases that successfully match.

This way:

- There's no need to generate these files for types that have no aliases
  in the current crate. If a dependent crate makes a type alias, it'll
  take care of generating its own docs.
- There's no need to reimplement parts of the type checker in
  JavaScript. The Rust backend does the checking, and includes its
  results in the file.
- Docs defined directly on the type alias are dropped directly in the
  HTML by `render_assoc_items`, and are accessible without JavaScript.
  The JSONP file will not list impl items that are known to be part
  of the main HTML file already.

[JSONP]: https://en.wikipedia.org/wiki/JSONP
2023-10-27 23:08:24 +00:00
..
auxiliary Rename issue-\d+.rs tests to have meaningful names 2023-10-16 18:01:02 -07:00
const-generics rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
deref rustdoc: use JS to inline target type impl docs into alias 2023-10-22 15:56:14 -07:00
duplicate_impls
generic-associated-types
inline_cross rustdoc: rename /implementors to /impl.trait 2023-10-22 15:47:34 -07:00
inline_local
intra-doc Still resolving rustdoc resolution panicking 2023-08-18 15:19:17 +08:00
intra-doc-crate
notable-trait
primitive rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
src-links
synthetic_auto
test_option_check
type-alias rustdoc: make JS trait impls act more like HTML 2023-10-22 16:51:32 -07:00
alias-reexport2.rs
alias-reexport.rs
all.rs
anchor-id-duplicate-method-name-25001.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
anchor-id-trait-method-15169.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
anchor-id-trait-tymethod-28478.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
anchors.no_const_anchor2.html
anchors.no_const_anchor.html
anchors.no_method_anchor.html
anchors.no_trait_method_anchor.html
anchors.no_tymethod_anchor.html
anchors.no_type_anchor2.html
anchors.no_type_anchor.html
anchors.rs
anonymous-lifetime.rs
anonymous-reexport.rs
array-links.link_box_generic.html
array-links.link_box_u32.html
array-links.link_slice_generic.html
array-links.link_slice_u32.html
array-links.rs
asm-foreign2.rs
asm-foreign.rs
assoc-consts-version.rs
assoc-consts.rs
assoc-item-cast.rs
assoc-type-bindings-20646.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
assoc-types.rs
associated-consts.rs
async-fn-opaque-item.rs
async-fn.rs
async-move-doctest.rs
async-trait-sig.rs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
async-trait.rs Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
attribute-rendering.rs
attributes.rs
auto_aliases.rs
auto-impl-for-trait.rs
auto-impl-primitive.rs
auto-trait-not-send.rs
auto-traits.rs
bad-codeblock-syntax.rs
blanket-impl-29503.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
blanket-reexport-item.rs rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
bounds-in-multiple-parts.rs
cap-lints.rs
cfg_doc_reexport.rs
cfg-doctest.rs
check-source-code-urls-to-def-std.rs
check-source-code-urls-to-def.rs
check-styled-link.rs
check.rs
codeblock-title.rs
comment-in-doctest.rs
compiler-derive-proc-macro.rs
const-display.rs
const-doc.rs
const-effect-param.rs hide host param from generic parameter list of ~const bounds 2023-10-12 17:14:19 +00:00
const-fn-effects.rs Hide host effect params from docs 2023-10-12 16:14:54 +00:00
const-fn.rs
const-intrinsic.rs
const-rendering-macros-33302.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
const-underscore.rs
const-value-display.rs
const.rs
constructor-imports.rs
crate-version-escape.rs rustdoc: show crate name beside small logo 2023-10-08 20:17:40 -07:00
crate-version-extra.rs rustdoc: clean up the layout for annotated version numbers 2023-10-08 20:17:53 -07:00
crate-version.rs rustdoc: show crate name beside small logo 2023-10-08 20:17:40 -07:00
cross-crate-hidden-assoc-trait-items.rs
cross-crate-hidden-impl-parameter.rs
cross-crate-links.rs
cross-crate-primitive-doc.rs
custom_code_classes.rs Implement new eBNF for codeblock attributes 2023-09-15 21:32:28 +02:00
decl_macro_priv.rs
decl_macro.rs
decl-line-wrapping-empty-arg-list.decl.html
decl-line-wrapping-empty-arg-list.rs
decl-trailing-whitespace.declaration.html
decl-trailing-whitespace.rs
deduplicate-glob-import-impl-21474.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
deduplicate-trait-impl-22025.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
deep-structures.rs
default-impl.rs
default-theme.rs
default-trait-method-link.rs
default-trait-method.rs
deprecated-future-staged-api.rs Fix stable feature names in tests 2023-10-23 13:03:11 -07:00
deprecated-future.rs
deprecated-impls.rs
deprecated.rs
deref-methods-19190-foreign-type.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
deref-methods-19190-inline.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
deref-methods-19190.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
description_default.rs
description.rs Add check-pass tests and fix test behavior 2023-08-18 15:19:18 +08:00
disambiguate-anchors-32890.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
disambiguate-anchors-header-29449.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
display-hidden-items.rs
doc_auto_cfg_nested_impl.rs
doc-assoc-item.rs
doc-auto-cfg.rs
doc-cfg-hide.rs
doc-cfg-implicit-gate.rs
doc-cfg-implicit.rs
doc-cfg-simplification.rs
doc-cfg-target-feature.rs
doc-cfg-traits.rs
doc-cfg.rs
doc-hidden-method-13698.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
doc-hidden-trait-implementors-33069.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
doc-proc-macro.rs
doc-test-attr-18199.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
doctest-cfg-feature-30252.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
doctest-hide-empty-line-23106.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
doctest-ignore-32556.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
doctest-manual-crate-name.rs
doctest-markdown-inline-parse-23744.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
doctest-multi-line-string-literal-25944.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
document-hidden-items-15347.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
document-item-with-associated-const-in-where-clause.rs
double-hyphen-to-dash.rs
double-quote-escape.rs
duplicate-cfg.rs
duplicate-flags.rs
duplicated_impl.rs
early-unindent.rs
edition-doctest.rs
edition-flag.rs
elided-lifetime.rs
empty-doc-comment.rs
empty-impl-block-private-with-doc.rs
empty-impl-block-private.rs
empty-impl-block.rs
empty-impls.rs
empty-mod-private.rs
empty-mod-public.rs
empty-section.rs
ensure-src-link.rs
enum-headings.rs
enum-variant-value.rs Add tests for enum discriminant value display with repr 2023-10-11 23:44:12 +02:00
extern-default-method.no_href_on_anchor.html
extern-default-method.rs
extern-fn-22038.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
extern-html-root-url-precedence.rs
extern-html-root-url.rs
extern-impl-trait.rs
extern-impl.rs
extern-links.rs
extern-method.rs
external-cross.rs
external-doc.rs
external-macro-src.rs
feature-gate-doc_auto_cfg.rs
ffi.rs
files-creation-hidden.rs
files-creation-private.rs
fn-bound.rs
fn-pointer-arg-name.rs
fn-sidebar.rs
fn-type.rs
footnote-in-summary.rs
force-target-feature.rs
foreigntype-reexport.rs
foreigntype.rs
generic_const_exprs.rs
generic-const-items.rs
generic-impl.rs rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
glob-shadowing-const.rs
glob-shadowing.rs
hidden-extern-34025.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
hidden-impls.rs rustdoc: rename /implementors to /impl.trait 2023-10-22 15:47:34 -07:00
hidden-line.rs
hidden-methods.rs
hidden-private.rs
hidden-trait-methods-with-document-hidden-items.rs
hidden-trait-methods.rs
hidden-trait-struct-impls.rs
hide-complex-unevaluated-const-arguments.rs
hide-complex-unevaluated-consts.rs
hide-unstable-trait.rs
higher-ranked-trait-bounds.rs
highlight-invalid-rust-12834.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
html-no-source.rs Handle structured stable attribute 'since' version in rustdoc 2023-10-24 17:34:59 -07:00
ice-reexport-crate-root-28927.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
ice-type-error-19181.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
impl-alias-substituted.rs
impl-assoc-type-21092.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
impl-box.rs
impl-disambiguation.rs
impl-everywhere.rs
impl-in-const-block.rs
impl-parts-crosscrate.rs rustdoc: rename /implementors to /impl.trait 2023-10-22 15:47:34 -07:00
impl-parts.rs
impl-ref-20175.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
impl-trait-alias.rs
impl-type-parameter-33592.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
implementor-stable-version.rs Update since stability attributes in tests 2023-10-23 13:04:47 -07:00
impossible-default.rs
include_str_cut.rs
index-page.rs
infinite-redirection-16265-1.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
infinite-redirection-16265-2.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
infinite-redirection.rs
inherent-projections.rs Handle inherent associated types fallout 2023-08-03 02:18:52 +02:00
inline-assoc-type-20727-bindings.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
inline-assoc-type-20727-bounds-deref.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
inline-assoc-type-20727-bounds-index.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
inline-assoc-type-20727-bounds.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
inline-default-methods.rs
inline-private-with-intermediate-doc-hidden.rs
internal.rs
invalid.crate.name.rs
issue-34423.rs
issue-34473.rs
issue-34928.rs
issue-35169-2.rs
issue-35169.rs
issue-35488.rs
issue-36031.rs
issue-38129.rs
issue-38219.rs
issue-40936.rs
issue-41783.codeblock.html
issue-41783.rs
issue-42760.rs
issue-43153.rs
issue-43701.rs rustdoc: rename /implementors to /impl.trait 2023-10-22 15:47:34 -07:00
issue-43869.rs
issue-43893.rs
issue-45584.rs
issue-46271.rs
issue-46377.rs
issue-46380-2.rs
issue-46506-pub-reexport-of-pub-reexport.rs
issue-46727.rs
issue-46766.rs
issue-46767.rs
issue-46976.rs
issue-47038.rs
issue-47197-blank-line-in-doc-block.rs
issue-47639.rs
issue-48377.rs
issue-48414.rs
issue-50159.rs
issue-51236.rs
issue-52873.rs
issue-53689.rs
issue-53812.rs
issue-54478-demo-allocator.rs
issue-54705.rs
issue-55001.rs
issue-55321.rs
issue-55364.rs
issue-56701.rs
issue-56822.rs
issue-57180.rs
issue-60482.rs
issue-60522-duplicated-glob-reexport.rs
issue-60726.rs
issue-61592.rs
issue-67851-both.rs
issue-67851-hidden.rs
issue-67851-neither.rs
issue-67851-private.rs
issue-72340.rs
issue-73061-cross-crate-opaque-assoc-type.rs
issue-74083.rs
issue-75588.rs
issue-76501.rs
issue-78673.rs
issue-78701.rs rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
issue-79201.rs
issue-80233-normalize-auto-trait.rs
issue-81141-private-reexport-in-public-api-2.rs
issue-81141-private-reexport-in-public-api-generics.rs
issue-81141-private-reexport-in-public-api-hidden.rs
issue-81141-private-reexport-in-public-api-private.rs
issue-81141-private-reexport-in-public-api.rs
issue-82465-asref-for-and-of-local.rs
issue-83375-multiple-mods-w-same-name-doc-inline-last-item.rs
issue-83375-multiple-mods-w-same-name-doc-inline.rs
issue-85454.rs
issue-86620.rs
issue-88600.rs Render missing fields in tuple struct/enum as /* private fields */ 2023-09-06 11:16:05 +02:00
issue-89309-heading-levels.rs
issue-89852.rs
issue-94183-blanket-impl-reexported-trait.rs
issue-95633.rs
issue-95873.rs
issue-96381.rs
issue-98697.rs
issue-99221-multiple-macro-rules-w-same-name-submodule.rs
issue-99221-multiple-macro-rules-w-same-name.rs
issue-99221-multiple-structs-w-same-name.rs
issue-99734-multiple-foreigns-w-same-name.rs
issue-99734-multiple-mods-w-same-name.rs
issue-100204-inline-impl-through-glob-import.rs
issue-100241.rs
issue-100620.rs
issue-101743-bold-tag.rs
issue-102154.rs
issue-105735-overlapping-reexport-2.rs rustdoc: Rename "Type Definition" to "Type Alias" 2023-08-21 12:53:39 -07:00
issue-105735-overlapping-reexport.rs
issue-105952.rs
issue-106142.rs
issue-107350.rs
issue-107995.rs
issue-108231.rs
issue-108281.rs
issue-108679-reexport-of-reexport.rs
issue-108925.rs
issue-108931-anonymous-reexport.rs
issue-109258-missing-private-inlining.rs
issue-109449-doc-hidden-reexports.rs rustdoc: Rename "Type Definition" to "Type Alias" 2023-08-21 12:53:39 -07:00
issue-109695-crate-doc-hidden.rs
issue-110422-inner-private.rs
issue-110629-private-type-cycle.rs
issue-111064-reexport-trait-from-hidden-2.rs
issue-111064-reexport-trait-from-hidden.rs
issue-111249-file-creation.rs
issue-113982-doc_auto_cfg-reexport-foreign.rs
item-desc-list-at-start.item-table.html
item-desc-list-at-start.rs
jump-to-def-doc-links.rs
keyword.rs
legacy-const-generic.rs
lifetime-name.rs
line-breaks.rs
link-assoc-const.rs
link-extern-crate-33178.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
link-extern-crate-item-30109.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
link-extern-crate-title-33178.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
link-title-escape.rs
local-reexport-doc.rs
logo-class-default.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
logo-class-rust.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
logo-class.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
macro_pub_in_module.rs
macro_rules-matchers.rs
macro-doc-comment-23812.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
macro-document-private-duplicate.rs
macro-document-private.rs
macro-generated-macro.macro_linebreak_pre.html
macro-generated-macro.macro_morestuff_pre.html
macro-generated-macro.rs
macro-higher-kinded-function.rs
macro-ice-16019.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
macro-in-async-block.rs
macro-in-closure.rs
macro-indirect-use.rs
macro-private-not-documented.rs
macros.rs
manual_impl.rs
markdown-table-escape-pipe-27862.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
masked.rs
method-link-foreign-trait-impl-17476.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
method-list.rs
mixing-doc-comments-and-attrs.rs
mixing-doc-comments-and-attrs.S1_top-doc.html
mixing-doc-comments-and-attrs.S2_top-doc.html
mixing-doc-comments-and-attrs.S3_top-doc.html
mod-stackoverflow.rs
module-impls.rs
multiple-import-levels.rs
must_implement_one_of.rs
mut-params.rs
namespaces.rs
negative-impl-sidebar.rs
negative-impl.rs
nested-items-issue-111415.rs
nested-modules.rs
no_std-primitive.rs
no-compiler-reexport.rs
no-run-still-checks-lints.rs
no-stack-overflow-25295.rs
no-unit-struct-field.rs
non_lifetime_binders.rs
normalize-assoc-item.rs
not-wf-ambiguous-normalization.rs
nul-error.rs
playground-arg.rs
playground-empty.rs
playground-none.rs
playground-syntax-error.rs
playground.rs
primitive-link.rs
primitive-raw-pointer-dox-15318-3.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
primitive-raw-pointer-link-15318.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
primitive-raw-pointer-link-no-inlined-15318-2.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
primitive-reexport.rs
primitive-reference.rs
primitive-slice-auto-trait.rs
primitive-tuple-auto-trait.rs
primitive-tuple-variadic.rs
primitive-unit-auto-trait.rs
private-fields-tuple-struct.rs Add regression test for private fields in tuple struct 2023-09-06 13:26:56 +02:00
private-type-alias.rs
private-use.rs
proc-macro.rs
process-termination.rs
pub-extern-crate.rs
pub-method.rs
pub-use-extern-macros.rs
range-arg-pattern.rs
raw-ident-eliminate-r-hashtag.rs
read-more-unneeded.rs
recursion1.rs
recursion2.rs
recursion3.rs
redirect-const.rs
redirect-map-empty.rs
redirect-map.rs
redirect-rename.rs
redirect.rs
reexport-attr-merge.rs
reexport-check.rs
reexport-dep-foreign-fn.rs
reexport-doc-hidden-inside-private.rs
reexport-doc-hidden.rs
reexport-doc.rs
reexport-hidden-macro.rs
reexport-macro.rs
reexport-of-doc-hidden.rs
reexport-stability-tags-deprecated-and-portability.rs
reexport-stability-tags-unstable-and-portability.rs
reexports-of-same-name.rs
reexports-priv.rs
reexports.rs
remove-duplicates.rs
remove-url-from-headings.rs
render-enum-variant-structlike-32395.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
repr.rs rustdoc: hide repr(transparent) if it isn't part of the public ABI 2023-09-18 19:30:10 +02:00
return-impl-trait.rs
rfc-2632-const-trait-impl.rs fix rustdoc tests 2023-09-20 03:02:14 +00:00
rustc-incoherent-impls.rs
rustc-macro-crate.rs
safe-intrinsic.rs
same-crate-hidden-impl-parameter.rs
sanitizer-option.rs
search-index-primitive-inherent-method-23511.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
search-index-summaries.rs
search-index.rs
short-docblock-codeblock.rs
short-docblock.rs
short-line.md
show-const-contents.rs Reuse const rendering from rustdoc in rmeta encoding 2023-09-01 17:22:48 -04:00
sidebar-all-page.rs rustdoc: Rename "Type Definition" to "Type Alias" 2023-08-21 12:53:39 -07:00
sidebar-items.rs
sidebar-link-generation.rs
sidebar-links-to-foreign-impl.rs rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
sized_trait.rs
slice-links.link_box_generic.html
slice-links.link_box_u32.html
slice-links.link_slice_generic.html
slice-links.link_slice_u32.html
slice-links.rs
smart-punct.rs
smoke.rs
sort-modules-by-appearance.rs
source-file.rs
source-version-separator.rs Handle structured stable attribute 'since' version in rustdoc 2023-10-24 17:34:59 -07:00
src-link-external-macro-26606.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
src-links-auto-impls.rs rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
src-links-external.rs
src-links-inlined-34274.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
src-links.rs
src-mod-path-absolute-26995.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
stability.rs
staged-api-deprecated-unstable-32374.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
staged-api-feature-issue-27759.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
static-root-path.rs
static.rs
strip-block-doc-comments-stars.docblock.html
strip-block-doc-comments-stars.rs
strip-enum-variant.no-not-shown.html rustdoc: use JS to inline target type impl docs into alias 2023-10-22 15:56:14 -07:00
strip-enum-variant.rs rustdoc: use JS to inline target type impl docs into alias 2023-10-22 15:56:14 -07:00
strip-priv-imports-pass-27104.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
struct-arg-pattern.rs
struct-field.rs
struct-implementations-title.rs
structfields.rs
summary-codeblock-31899.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
summary-reference-link-30366.rs Add URL to test cases 2023-10-16 18:01:02 -07:00
tab_title.rs
table-in-docblock.rs
task-lists.rs
test-lists.rs
test-parens.rs
test-strikethrough.rs
thread-local-src.rs
titles.rs rustdoc: show crate name beside small logo 2023-10-08 20:17:40 -07:00
toggle-item-contents.rs
toggle-method.rs
toggle-trait-fn.rs
trait_alias.rs
trait-alias-mention.rs
trait-impl-items-links-and-anchors.rs
trait-impl.rs
trait-self-link.rs
trait-src-link.rs
trait-visibility.rs
traits-in-bodies-private.rs
traits-in-bodies.rs
tuple-struct-fields-doc.rs
tuples.link1_i32.html
tuples.link1_t.html
tuples.link2_i32.html
tuples.link2_t.html
tuples.link2_tu.html
tuples.link_unit.html
tuples.rs
type-layout-flag-required.rs
type-layout.rs
typedef-inner-variants-lazy_type_alias.rs rustdoc: always print type alias inner type (with it's where clauses) 2023-08-28 14:03:33 +02:00
typedef-inner-variants.rs rustdoc: always print type alias inner type (with it's where clauses) 2023-08-28 14:03:33 +02:00
typedef.rs
unindent.md
unindent.rs
union-fields-html.rs
union.rs
unit-return.rs
universal-impl-trait.rs
unneeded-trait-implementations-title.rs
use-attr.rs
useless_lifetime_bound.rs
variadic.rs
version-separator-without-source.rs Handle structured stable attribute 'since' version in rustdoc 2023-10-24 17:34:59 -07:00
viewpath-rename.rs
viewpath-self.rs
visibility.rs
where-clause-order.rs rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
where-sized.rs
where.alpha_trait_decl.html Render missing fields in tuple struct/enum as /* private fields */ 2023-09-06 11:16:05 +02:00
where.bravo_trait_decl.html
where.charlie_fn_decl.html
where.golf_type_alias_decl.html
where.rs Render missing fields in tuple struct/enum as /* private fields */ 2023-09-06 11:16:05 +02:00
where.SWhere_Echo_impl.html
where.SWhere_Simd_item-decl.html Render missing fields in tuple struct/enum as /* private fields */ 2023-09-06 11:16:05 +02:00
where.SWhere_TraitWhere_item-decl.html
whitespace-after-where-clause.enum2.html
whitespace-after-where-clause.enum.html
whitespace-after-where-clause.rs
whitespace-after-where-clause.struct2.html
whitespace-after-where-clause.struct.html
whitespace-after-where-clause.trait2.html
whitespace-after-where-clause.trait.html
whitespace-after-where-clause.union2.html
whitespace-after-where-clause.union.html
without-redirect.rs
wrapping.rs