rust/tests/rustdoc
bors 6d05c430d2 Auto merge of #115948 - notriddle:notriddle/logo-lockup, r=fmease
rustdoc: show crate name beside smaller logo

*Blocked on https://github.com/rust-lang/cargo/pull/12800*

## Summary

In this PR, the crate name and version are always shown in the sidebar, even in subpages, and the lateral navigation is always shown in the sidebar, even in modules.

Clicking the crate name does the same thing clicking the logo always did: take you to the crate root (the crate's home page, at least within Rustdoc).

The Rust logo is also no longer shown by default for non-Rust docs.

### Screenshots

<details><summary>Before</summary>

| | Macro | Module |
|--|-------|--------|
| In crate | ![image](https://github.com/rust-lang/rust/assets/1593513/d5db0a46-2bb6-44a2-a3aa-2d915ecb8595) |![image](https://github.com/rust-lang/rust/assets/1593513/61f8c1ee-c298-4e2c-b791-18ecb79ab83b)
| In module[^1] | ![image](https://github.com/rust-lang/rust/assets/1593513/73abca59-0b69-4650-a1e2-7278ca34795c) | ![image](https://github.com/rust-lang/rust/assets/1593513/0baf02c2-2ec7-4674-80e5-a6a74a973376)

[^1]: This PR also includes a bug fix for derive macros not showing up in the lateral navigation part of the sidebar

</details>

#### Whole sidebar screenshots

| | Macro | Module |
|--|-------|--------|
| In crate | ![image](https://github.com/rust-lang/rust/assets/1593513/75d1bd07-41f7-4f11-ba24-fd5476e0586a) | ![image](https://github.com/rust-lang/rust/assets/1593513/52960259-2b65-4131-b380-01826f0a0eb7)
| In module | ![image](https://github.com/rust-lang/rust/assets/1593513/06e57928-8cb0-41bd-b152-be16cc53e5ec) | ![image](https://github.com/rust-lang/rust/assets/1593513/37291c69-2a07-4467-a382-d9b029084a47)

#### Different logo configurations

|         | Short crate name | Long crate name |
|---------|------------------|-----------------|
| Root    | ![short-root]    | ![long-root]
| Subpage | ![short-subpage] | ![long-subpage]

[short-root]: https://github.com/rust-lang/rust/assets/1593513/9e2b4fa8-f581-4106-b562-1e0372c13f79
[short-subpage]: https://github.com/rust-lang/rust/assets/1593513/8331cdb8-fa13-4671-a1e2-dcc1cdca7451
[long-root]: https://github.com/rust-lang/rust/assets/1593513/7d377fec-0f1d-4343-9f82-0e35a8f58056
[long-subpage]: https://github.com/rust-lang/rust/assets/1593513/3b3094a4-63c9-477c-8c15-b6075837df30

##### Without a logo

![image](https://github.com/rust-lang/rust/assets/1593513/66672b79-6c59-4be8-a527-25ef6f0b04ab)

### Preview pages

https://notriddle.com/rustdoc-html-demo-5/sidebar-layout-rocket/rocket/index.html

https://notriddle.com/rustdoc-html-demo-5/sidebar-layout-rocket/rocket_sync_db_pools/index.html

https://notriddle.com/rustdoc-html-demo-5/sidebar-layout-rust-compiler/index.html

https://notriddle.com/rustdoc-html-demo-5/sidebar-layout-rust/std/index.html

https://notriddle.com/rustdoc-html-demo-5/sidebar-layout-rocket/tokio/index.html

## Motivation

This improves visual information density (the construct with the logo and crate name is *shorter* than the logo on its own, because it's not square) and navigation clarity (we can now see what clicking the Rust logo does, specifically).

Compare this with the layout at [Phoenix's Hexdocs] (which is what this proposal is closely based on), the old proposal on [Internals Discourse] (which always says "Rust standard library" in the sidebar, but doesn't do the side-by-side layout).

[Phoenix's Hexdocs]: https://hexdocs.pm/phoenix/1.7.7/overview.html
[Internals Discourse]: https://internals.rust-lang.org/t/poc-of-a-new-design-for-the-generated-rustdoc/11018

## Guide-level explanation

This PR cleans up some of the sidebar navigation.

It makes the logo in the desktop sidebar a bit smaller, and puts the crate name and version next to it (either beside it, or below it, depending on if there's space), making it clearer what clicking on it does: click the crate name to open the crate's home page. It also removes the Rust logo from non-official-Rust crates, again to make the navigation and supply chain clearer (since the crate name has been added, the logo is no longer necessary for navigation).

It adds a bit more clarifying information for lateral navigation. On items that don't add their own sidebar items, it just shows its siblings directly below the crate name and logo, but for other items, it shows "In crate alloc" instead of just "In alloc". It also shows the lateral navigation tools on module pages, making modules consistent with every other item.

## Drawbacks

While this actually takes up less screen real estate than the old layout on desktop, it takes up more HTML. It's also a bit more visually complex.

## Rationale and alternatives

I could do what the Internals POC did and keep the vertically stacked layout all the time, instead of doing a horizontal stack where possible. It would take up more screen real estate, though.

## Prior art

This design is lifted almost verbatim from Hexdocs. It seems to work for them. [`opentelemetry_process_propagator`], for example, has a long application name.

[`opentelemetry_process_propagator`]: https://hexdocs.pm/opentelemetry_process_propagator/OpentelemetryProcessPropagator.html

## Unresolved questions

Maybe we should encourage crate authors to include their own logo more often? It certainly helps give people a better sense of "place." This seems to be blocked on coming up with an API to do it without requiring them to host the file somewhere.

## Future possibilities

Beyond this, plenty of other changes could be made to improve the layout, like

* Fix things so that clicking an item in the sidebar doesn't cause it to scroll back to the top.
  * The [Internals demo](https://utherii.github.io/new.html) does this right: clicking an item in the sidebar changes the content area, but the sidebar itself does not change. This is nice, because clicking is cheap and I can skim the opening few paragraphs while browsing.
  * The layout of the docs sidebar causes trouble to implement this, because it's different on different pages, but at least fix this on the file browser.
* Come up with a less cluttered way to do disclosure. There's a lot of `[-]` on the page.
  * We don't lack ideas to fix this one. We have *too many*.
* Do a better job of separating local navigation (vec::Vec links to vec::IntoIter) and the table of contents (vec::Vec links to vec::Vec::new).
  * A possibility: add a Back arrow next to the "In [module]" header?
    ![image](https://github.com/rust-lang/rust/assets/1593513/e969faf7-7722-457a-b8c6-8d962e9e1e23)
* Give readers more control of how much rustdoc shows them, and giving doc authors more control of how much it generates. Basically, https://github.com/rust-lang/rust/pull/115660 is great, let's do it too.

But those are mostly orthogonal, not future possibilities unlocked by this change.
2023-10-11 06:28:36 +00:00
..
auxiliary Auto merge of #116142 - GuillaumeGomez:enum-variant-display, r=fmease 2023-10-09 13:18:47 +00:00
const-generics rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
deref rustdoc: fix weird margins between Deref impl items 2023-04-28 13:16:10 -07:00
duplicate_impls rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
generic-associated-types rustdoc: render the assoc ty body before the where-clause 2023-06-21 21:53:55 +02:00
inline_cross Add URL to test case issues 2023-10-04 13:04:45 -07:00
inline_local Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intra-doc Still resolving rustdoc resolution panicking 2023-08-18 15:19:17 +08:00
intra-doc-crate Move /src/test to /tests 2023-01-11 09:32:08 +00:00
notable-trait Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
primitive rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
src-links Move /src/test to /tests 2023-01-11 09:32:08 +00:00
synthetic_auto rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
test_option_check Move /src/test to /tests 2023-01-11 09:32:08 +00:00
alias-reexport2.rs Mark lazy_type_alias as incomplete 2023-07-29 19:47:15 +00:00
alias-reexport.rs Mark lazy_type_alias as incomplete 2023-07-29 19:47:15 +00:00
all.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 rustdoc: use src consistently over source in code 2023-07-14 16:38:01 -07:00
anchors.no_const_anchor.html rustdoc: use src consistently over source in code 2023-07-14 16:38:01 -07:00
anchors.no_method_anchor.html rustdoc: use src consistently over source in code 2023-07-14 16:38:01 -07:00
anchors.no_trait_method_anchor.html rustdoc: use src consistently over source in code 2023-07-14 16:38:01 -07:00
anchors.no_tymethod_anchor.html rustdoc: use src consistently over source in code 2023-07-14 16:38:01 -07:00
anchors.no_type_anchor2.html Restore channel placeholder 2023-04-29 15:36:03 -04:00
anchors.no_type_anchor.html rustdoc: use src consistently over source in code 2023-07-14 16:38:01 -07:00
anchors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anonymous-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anonymous-reexport.rs Update rustdoc anonymous reexport test and add regression test for #108931 2023-03-09 18:08:22 +01:00
array-links.link_box_generic.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array-links.link_box_u32.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array-links.link_slice_generic.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array-links.link_slice_u32.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array-links.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
asm-foreign2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
asm-foreign.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-consts-version.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-consts.rs rustdoc: re-elide cross-crate default trait object lifetime bounds 2023-06-07 13:29:36 +02:00
assoc-item-cast.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
assoc-type-bindings-20646.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
assoc-types.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
associated-consts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-fn-opaque-item.rs Don't collect return-position impl traits for documentation 2023-04-04 14:03:50 +00:00
async-fn.rs rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
async-move-doctest.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-trait-sig.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute-rendering.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
attributes.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
auto_aliases.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
auto-impl-for-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
auto-impl-primitive.rs Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
auto-trait-not-send.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
auto-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-codeblock-syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cap-lints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_doc_reexport.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
cfg-doctest.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-source-code-urls-to-def-std.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-source-code-urls-to-def.rs Update jump to def tests 2023-07-12 16:50:43 +02:00
check-styled-link.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
codeblock-title.rs rustdoc: merge doctest tooltip with notable traits tooltip 2023-01-27 09:04:39 -07:00
comment-in-doctest.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
compiler-derive-proc-macro.rs Add test to ensure that compiler built-in proc-macro are considered as such 2023-04-13 20:35:05 +02:00
const-display.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-doc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
const-intrinsic.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
const-underscore.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-value-display.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
constructor-imports.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cross-crate-hidden-impl-parameter.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cross-crate-links.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cross-crate-primitive-doc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom_code_classes.rs Implement new eBNF for codeblock attributes 2023-09-15 21:32:28 +02:00
decl_macro_priv.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
decl_macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
decl-line-wrapping-empty-arg-list.decl.html rustdoc: get rid of extra line when line-wrapping fn decls with empty arg list 2023-06-24 23:39:35 +02:00
decl-line-wrapping-empty-arg-list.rs rustdoc: get rid of extra line when line-wrapping fn decls with empty arg list 2023-06-24 23:39:35 +02:00
decl-trailing-whitespace.declaration.html rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
decl-trailing-whitespace.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-theme.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-trait-method-link.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-trait-method.rs Add tests for default unsafe trait methods 2023-06-24 23:14:57 -04:00
deprecated-future-staged-api.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deprecated-future.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deprecated-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deprecated.rs Fix improper escaping of deprecation reasons 2023-03-20 05:21:51 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
description.rs Add check-pass tests and fix test behavior 2023-08-18 15:19:18 +08:00
display-hidden-items.rs Add tests for --document-hidden-items option 2023-07-19 14:34:06 +02:00
doc_auto_cfg_nested_impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-assoc-item.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
doc-auto-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg-hide.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg-implicit-gate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg-implicit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg-simplification.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg-target-feature.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-cfg.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
doc-hidden-method-13698.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
doc-proc-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-test-attr-18199.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
doctest-hide-empty-line-23106.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
doctest-manual-crate-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use ObligationCtxt::new_in_snapshot in satisfied_from_param_env 2023-01-30 19:04:59 +00:00
double-hyphen-to-dash.rs Add rustdoc test for double-hyphen to dash doc comment conversion 2023-06-02 13:51:01 +02:00
double-quote-escape.rs rustdoc: use the same URL escape rules for fragments as for examples 2023-02-03 17:58:26 -07:00
duplicate-cfg.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
duplicate-flags.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicated_impl.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
early-unindent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
edition-doctest.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
edition-flag.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elided-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-doc-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-impl-block-private-with-doc.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
empty-impl-block-private.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
empty-impl-block.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
empty-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-mod-private.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-mod-public.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-section.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ensure-src-link.rs rustdoc: use src consistently over source in code 2023-07-14 16:38:01 -07:00
enum-headings.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum-variant-value.rs Add more complex test cases for enum discriminant display 2023-10-09 14:33:04 +02:00
extern-default-method.no_href_on_anchor.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-default-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-fn-22038.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
extern-html-root-url-precedence.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-html-root-url.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-impl-trait.rs rustdoc: fix cross-crate impl-Sized 2023-07-26 02:11:35 +02:00
extern-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-links.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
external-cross.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
external-doc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
external-macro-src.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-doc_auto_cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ffi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
files-creation-hidden.rs Add @files checks in rustdoc tests 2023-06-23 15:12:48 +02:00
files-creation-private.rs Add @files checks in rustdoc tests 2023-06-23 15:12:48 +02:00
fn-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-pointer-arg-name.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
fn-sidebar.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
footnote-in-summary.rs Add test for footnote references in doc summary 2023-03-19 18:02:52 +01:00
force-target-feature.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreigntype-reexport.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreigntype.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic_const_exprs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-const-items.rs Add rustdoc tests for generic const items 2023-07-28 22:23:21 +02:00
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 rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
glob-shadowing.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
hidden-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hidden-line.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hidden-methods.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hidden-private.rs Add rustdoc test to ensure that items into a doc(hidden) block are handled as expected 2023-01-27 20:33:42 +01:00
hidden-trait-methods-with-document-hidden-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hidden-trait-methods.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hidden-trait-struct-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hide-complex-unevaluated-const-arguments.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
hide-complex-unevaluated-consts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hide-unstable-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
higher-ranked-trait-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
highlight-invalid-rust-12834.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
html-no-source.rs Add test for --no-html-source flag 2023-08-23 15:54:04 +02: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 Use proper impl self type for alias impl in rustdoc 2023-05-10 22:49:05 +00:00
impl-assoc-type-21092.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
impl-box.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-disambiguation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-everywhere.rs rustdoc: fix cross-crate impl-Sized 2023-07-26 02:11:35 +02:00
impl-in-const-block.rs Add regression test for impl blocks in const expr 2023-01-27 14:41:33 +01:00
impl-parts-crosscrate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-parts.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
impl-ref-20175.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
impl-trait-alias.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implementor-stable-version.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impossible-default.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
include_str_cut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
index-page.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 rustdoc: trait bound formatting 2023-02-04 19:10:04 +01:00
inline-private-with-intermediate-doc-hidden.rs Add regression test where private item with intermediate doc hidden re-export was not inlined 2023-06-01 18:35:00 +02:00
internal.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
invalid.crate.name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-29449.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-29503.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-29584.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-30109.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-30252.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-30366.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-31808.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-31899.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32077-type-alias-impls.rs rustdoc-search: add impl disambiguator to duplicate assoc items 2023-09-21 15:16:44 -07:00
issue-32374.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
issue-32395.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32556.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32890.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33069.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33178-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33178.rs fix doc links on extern crate items 2023-07-22 12:27:25 +02:00
issue-33302.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
issue-33592.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34025.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34274.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34423.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34473.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34928.rs rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
issue-35169-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35169.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35488.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-36031.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38129.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38219.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-40936.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-41783.codeblock.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-41783.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
issue-42760.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43153.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43701.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43869.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43893.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-45584.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-46271.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46377.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
issue-46380-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46506-pub-reexport-of-pub-reexport.rs Add regression test for #46506 2023-04-20 17:49:13 +02:00
issue-46727.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46766.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46767.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46976.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47038.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47197-blank-line-in-doc-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47639.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-48377.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-48414.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50159.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-51236.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-52873.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-53689.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-53812.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-54478-demo-allocator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54705.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-55001.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-55321.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-55364.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
issue-56701.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-56822.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-57180.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-60482.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-60522-duplicated-glob-reexport.rs Add regression test for #60522 2023-04-24 13:12:24 +02:00
issue-60726.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-61592.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67851-both.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67851-hidden.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67851-neither.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67851-private.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72340.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73061-cross-crate-opaque-assoc-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-74083.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75588.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76501.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-78673.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
issue-78701.rs rustdoc: update test cases for changes to the printing style 2023-09-21 15:16:44 -07:00
issue-79201.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80233-normalize-auto-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81141-private-reexport-in-public-api-2.rs Correctly handle super and :: 2023-07-24 17:07:57 +02:00
issue-81141-private-reexport-in-public-api-generics.rs Add regression test for generics reexport of private import 2023-07-24 17:07:57 +02:00
issue-81141-private-reexport-in-public-api-hidden.rs Add test for --document-hidden-items 2023-07-24 17:07:57 +02:00
issue-81141-private-reexport-in-public-api-private.rs Add test for private items 2023-07-24 17:07:57 +02:00
issue-81141-private-reexport-in-public-api.rs Correctly handle super and :: 2023-07-24 17:07:57 +02:00
issue-82465-asref-for-and-of-local.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83375-multiple-mods-w-same-name-doc-inline-last-item.rs rustdoc: make item links consistently use title="{shortty} {path}" 2023-01-23 14:31:35 -07:00
issue-83375-multiple-mods-w-same-name-doc-inline.rs rustdoc: make item links consistently use title="{shortty} {path}" 2023-01-23 14:31:35 -07:00
issue-85454.rs rustdoc: trait bound formatting 2023-02-04 19:10:04 +01:00
issue-86620.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-89852.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-94183-blanket-impl-reexported-trait.rs Add regression test for #94183 2023-04-19 11:32:50 +02:00
issue-95633.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95873.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
issue-96381.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-98697.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
issue-99221-multiple-macro-rules-w-same-name-submodule.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99221-multiple-macro-rules-w-same-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99221-multiple-structs-w-same-name.rs rustdoc: make item links consistently use title="{shortty} {path}" 2023-01-23 14:31:35 -07:00
issue-99734-multiple-foreigns-w-same-name.rs rustdoc: make item links consistently use title="{shortty} {path}" 2023-01-23 14:31:35 -07:00
issue-99734-multiple-mods-w-same-name.rs rustdoc: make item links consistently use title="{shortty} {path}" 2023-01-23 14:31:35 -07:00
issue-100204-inline-impl-through-glob-import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100241.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100620.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-101743-bold-tag.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102154.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Add regression test for #105735 2023-07-18 10:41:16 +02:00
issue-105952.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-106142.rs test(doc): no fallback marco resolution 2023-04-27 16:25:05 +08:00
issue-107350.rs Add regression test for #107350 2023-01-27 12:11:01 +01:00
issue-107995.rs Add regression test for #107995 2023-02-18 23:24:58 +01:00
issue-108231.rs Add regression test for #108231 2023-02-20 20:19:21 +01:00
issue-108281.rs Add regression test for #108281 2023-02-21 16:26:06 +01:00
issue-108679-reexport-of-reexport.rs Addr regression test for #108679 2023-03-07 21:20:21 +01:00
issue-108925.rs Bless tidy 2023-03-27 18:58:07 +00:00
issue-108931-anonymous-reexport.rs Update rustdoc anonymous reexport test and add regression test for #108931 2023-03-09 18:08:22 +01:00
issue-109258-missing-private-inlining.rs Add regression test for #109258 2023-03-17 17:04:23 +01:00
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 Add regression test for #109695 2023-03-29 16:17:48 +02:00
issue-110422-inner-private.rs Add regression tests for #110422 2023-04-17 20:27:34 +02:00
issue-110629-private-type-cycle.rs rustdoc: catch and don't blow up on impl Trait cycles 2023-04-29 16:53:02 -07:00
issue-111064-reexport-trait-from-hidden-2.rs Add @files checks in rustdoc tests 2023-06-23 15:12:48 +02:00
issue-111064-reexport-trait-from-hidden.rs Add regression test for #111064 2023-05-05 21:33:44 +02:00
issue-111249-file-creation.rs Add @files checks in rustdoc tests 2023-06-23 15:12:48 +02:00
issue-112515-impl-ty-alias.rs Add regression test for #112515 2023-06-12 11:35:19 +02:00
issue-113982-doc_auto_cfg-reexport-foreign.rs Add regression test for #113982 2023-07-24 16:32:06 +02:00
item-desc-list-at-start.item-table.html rustdoc: avoid including <li> tags in item table short desc 2023-02-23 13:53:27 -07:00
item-desc-list-at-start.rs rustdoc: avoid including <li> tags in item table short desc 2023-02-23 13:53:27 -07:00
jump-to-def-doc-links.rs Update jump to def tests 2023-07-12 16:50:43 +02:00
keyword.rs rustdoc: remove unnecessary DOM class h1.fqn 2023-01-13 10:09:25 -07:00
legacy-const-generic.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
lifetime-name.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
line-breaks.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-assoc-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-title-escape.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
local-reexport-doc.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
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 Add test to ensure that compiler built-in proc-macro are considered as such 2023-04-13 20:35:05 +02:00
macro_rules-matchers.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-doc-comment-23812.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
macro-document-private-duplicate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-document-private.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-generated-macro.macro_linebreak_pre.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-generated-macro.macro_morestuff_pre.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-generated-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-higher-kinded-function.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
macro-ice-16019.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
macro-in-async-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-in-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-indirect-use.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-private-not-documented.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
manual_impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
markdown-table-escape-pipe-27862.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
masked.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method-link-foreign-trait-impl-17476.rs rustdoc: add URLs for test issues 2023-09-27 17:22:18 -07:00
method-list.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mixing-doc-comments-and-attrs.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
mixing-doc-comments-and-attrs.S1_top-doc.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mixing-doc-comments-and-attrs.S2_top-doc.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mixing-doc-comments-and-attrs.S3_top-doc.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod-stackoverflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
module-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiple-import-levels.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
must_implement_one_of.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mut-params.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
namespaces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
negative-impl-sidebar.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
negative-impl.rs rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
nested-items-issue-111415.rs Add regression test for #111415 2023-05-16 14:35:46 +02:00
nested-modules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_std-primitive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-compiler-reexport.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-run-still-checks-lints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-stack-overflow-25295.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-unit-struct-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non_lifetime_binders.rs rustdoc + rustdoc-json support for non_lifetime_binders 2023-03-28 16:50:49 +00:00
normalize-assoc-item.rs bless rustdoc tests 2023-03-05 14:41:35 +03:00
not-wf-ambiguous-normalization.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nul-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
playground-arg.rs pass unused_extern_crates in librustdoc::doctest::make_test 2023-04-25 17:20:58 +03:00
playground-empty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
playground-none.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
playground-syntax-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
playground.rs rustdoc: use smarter encoding for playground URL 2023-01-26 10:51:10 -07:00
primitive-link.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
primitive-reference.rs Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
primitive-slice-auto-trait.rs Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
primitive-tuple-auto-trait.rs Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
primitive-tuple-variadic.rs rustdoc: use the same URL escape rules for fragments as for examples 2023-02-03 17:58:26 -07:00
primitive-unit-auto-trait.rs Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
private-use.rs Fix regression for private in public 2023-07-26 15:29:45 +02:00
proc-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
process-termination.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-extern-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-method.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
pub-use-extern-macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range-arg-pattern.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
raw-ident-eliminate-r-hashtag.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
read-more-unneeded.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursion1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursion2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursion3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
redirect-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
redirect-map-empty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
redirect-map.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
redirect-rename.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
redirect.rs Add tests for invalid files generation 2023-06-21 15:21:32 +02:00
reexport-attr-merge.rs Update reexport-attr-merge rustdoc test 2023-06-03 19:57:17 +02:00
reexport-check.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
reexport-dep-foreign-fn.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
reexport-doc-hidden-inside-private.rs Add/improve code comments 2023-06-26 16:38:14 +02:00
reexport-doc-hidden.rs Update tests for re-exports of doc hidden macros 2023-05-26 17:31:54 +02:00
reexport-doc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reexport-hidden-macro.rs Correctly handle multiple re-exports of bang macros at the same level 2023-05-27 00:25:37 +02:00
reexport-macro.rs Add regression test for reexported macros docs 2023-02-10 18:37:32 +01:00
reexport-of-doc-hidden.rs Correctly handle multiple re-exports of bang macros at the same level 2023-05-27 00:25:37 +02:00
reexport-stability-tags-deprecated-and-portability.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reexport-stability-tags-unstable-and-portability.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reexports-of-same-name.rs Add test to ensure there are no duplicated imports 2023-02-22 17:49:22 +01:00
reexports-priv.rs rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
reexports.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
remove-duplicates.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
remove-url-from-headings.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-impl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rfc-2632-const-trait-impl.rs fix rustdoc tests 2023-09-20 03:02:14 +00:00
rustc-incoherent-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-macro-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safe-intrinsic.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
same-crate-hidden-impl-parameter.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sanitizer-option.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
search-index.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
short-docblock-codeblock.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
short-docblock.rs rustdoc: simplify DOM for .item-table 2023-02-07 19:00:42 -07:00
short-line.md Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sidebar-link-generation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slice-links.link_box_generic.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slice-links.link_box_u32.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slice-links.link_slice_generic.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slice-links.link_slice_u32.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slice-links.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
smart-punct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
smoke.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sort-modules-by-appearance.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
source-file.rs rustdoc: use src consistently over source in JavaScript 2023-07-14 16:54:14 -07:00
source-version-separator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
src-links.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
src-mod-path-absolute-26995.rs Add URL to test case issues 2023-10-04 13:04:45 -07:00
stability.rs Move /src/test to /tests 2023-01-11 09:32:08 +00: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 rustdoc: use src consistently over source in JavaScript 2023-07-14 16:54:14 -07:00
static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
strip-block-doc-comments-stars.docblock.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
strip-block-doc-comments-stars.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
strip-enum-variant.no-not-shown.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
strip-enum-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00: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 rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
struct-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-implementations-title.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
structfields.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tab_title.rs Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
table-in-docblock.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
task-lists.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-lists.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-parens.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
test-strikethrough.rs rustdoc: add test for strikethrough with single tildes 2023-05-25 13:27:29 +00:00
thread-local-src.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
titles.rs rustdoc: show crate name beside small logo 2023-10-08 20:17:40 -07:00
toggle-item-contents.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
toggle-method.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
toggle-trait-fn.rs rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle 2023-01-13 12:38:03 -07:00
trait_alias.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
trait-alias-mention.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-impl-items-links-and-anchors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-self-link.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-src-link.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-visibility.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
traits-in-bodies-private.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
traits-in-bodies.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuple-struct-fields-doc.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
tuples.link1_i32.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuples.link1_t.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuples.link2_i32.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuples.link2_t.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuples.link2_tu.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuples.link_unit.html Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tuples.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
type-layout-flag-required.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-layout.rs rustdoc: Note in a type's layout/size if it is uninhabited 2023-03-04 12:07:29 +00:00
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 rustdoc: remove unused class has-srclink 2023-01-28 17:18:56 -07:00
unindent.md Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unindent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
union-fields-html.rs Add test to prevent regression for fields display 2023-06-21 17:42:53 +02:00
union.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unit-return.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
universal-impl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unneeded-trait-implementations-title.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
useless_lifetime_bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
variadic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
version-separator-without-source.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
viewpath-rename.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
viewpath-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
visibility.rs Add visibility tests for associated items 2023-04-29 16:19:57 -04:00
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 rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
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 Update existing snapshot and add more snapshots of where clause indentation 2023-06-22 17:39:23 +02:00
where.charlie_fn_decl.html Update existing snapshot and add more snapshots of where clause indentation 2023-06-22 17:39:23 +02:00
where.golf_type_alias_decl.html Update existing snapshot and add more snapshots of where clause indentation 2023-06-22 17:39:23 +02:00
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 Update existing snapshot and add more snapshots of where clause indentation 2023-06-22 17:39:23 +02:00
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 rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
whitespace-after-where-clause.enum2.html Replace nbsp in all rustdoc code blocks 2023-02-03 08:15:44 -07:00
whitespace-after-where-clause.enum.html rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
whitespace-after-where-clause.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00
whitespace-after-where-clause.struct2.html Replace nbsp in all rustdoc code blocks 2023-02-03 08:15:44 -07:00
whitespace-after-where-clause.struct.html rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
whitespace-after-where-clause.trait2.html rustdoc: trait bound formatting 2023-02-04 19:10:04 +01:00
whitespace-after-where-clause.trait.html rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
whitespace-after-where-clause.union2.html Replace nbsp in all rustdoc code blocks 2023-02-03 08:15:44 -07:00
whitespace-after-where-clause.union.html rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
without-redirect.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wrapping.rs rustdoc: remove unnecessary wrapper div.item-decl from HTML 2023-01-30 11:06:18 -07:00