rust/src/test/rustdoc
Yuki Okushi 7ceab9ef14
Rollup merge of #90018 - GuillaumeGomez:too-long-item-names, r=jsha
Fix rustdoc UI for very long type names

Fixes #89972.

While working on it, I also discovered that when the item name is too long, it also breaks the flow of the page.

To make things right, I also renamed the `type-decl` CSS class into `item-decl` (because this PR also generates it for more than type declarations).

So here are the before/after screenshots:

![Screenshot from 2021-10-18 16-58-03](https://user-images.githubusercontent.com/3050060/137757247-637fcf04-4406-49c6-8a8a-18c2074aacd9.png)
![Screenshot from 2021-10-18 16-58-26](https://user-images.githubusercontent.com/3050060/137757252-17935e63-53b3-449f-a535-7be91ff0e257.png)

![Screenshot from 2021-10-18 16-58-07](https://user-images.githubusercontent.com/3050060/137757278-8b12e348-2980-4fc4-8853-bef99d58981f.png)
![Screenshot from 2021-10-18 16-58-28](https://user-images.githubusercontent.com/3050060/137757282-534a0e1b-3016-49ba-b3ac-e45bdb9035cb.png)

r? ``@jsha``
2021-10-20 04:35:15 +09:00
..
auxiliary Fix no_core and no_std rustdoc tests on Windows 2021-09-12 02:30:24 +00:00
const-generics feature(const_param_types) -> feature(adt_const_params) 2021-08-30 12:07:36 +02:00
duplicate_impls Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
inline_cross Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
inline_local Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
intra-doc Run no_core rustdoc tests on Linux only. 2021-09-22 12:23:28 +02:00
intra-doc-crate rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
primitive Fix linkcheck issues 2021-09-12 02:30:24 +00:00
src-links Remove licenses 2018-12-25 21:08:33 -07:00
synthetic_auto Create a valid Res in external_path() 2021-09-11 11:24:53 -07:00
test_option_check Remove licenses 2018-12-25 21:08:33 -07:00
all.rs Remove licenses 2018-12-25 21:08:33 -07:00
asm-foreign2.rs Address review comments 2021-03-14 23:21:03 +00:00
asm-foreign.rs Address review comments 2021-03-14 23:21:03 +00:00
assoc-consts-version.rs use span instead of div for since version 2019-05-03 12:55:31 -04:00
assoc-consts.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
assoc-item-cast.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
assoc-types.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
associated-consts.rs Add test for associated constants in the sidebar 2021-10-12 15:07:11 +02:00
async-fn.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
async-move-doctest.rs Remove async_await gates from tests. 2019-08-20 03:08:42 +02:00
attributes.rs * Remove left margin on items declaration at the top of their documentation page 2021-10-18 15:06:38 +02:00
auto_aliases.rs Replace h3 and h4 containing invalid DOM 2021-06-01 21:19:28 +02:00
auto-impl-for-trait.rs Remove licenses 2018-12-25 21:08:33 -07:00
auto-impl-primitive.rs Remove licenses 2018-12-25 21:08:33 -07:00
auto-traits.rs Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
bad-codeblock-syntax.rs Remove dependency on StringReader from rustdoc highlighter 2020-08-27 17:43:15 +02:00
blanket-reexport-item.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
cap-lints.rs Remove must_use from ALLOWED_ATTRIBUTES 2021-06-13 17:57:16 -07:00
cfg-doctest.rs stabilize cfg(doctest) 2019-10-29 13:42:55 +01:00
check-source-code-urls-to-def-std.rs Add test for primitive in "jump to definition" feature 2021-09-13 17:44:39 +02:00
check-source-code-urls-to-def.rs Add test for primitive in "jump to definition" feature 2021-09-13 17:44:39 +02:00
check-styled-link.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
check.rs Add tests for rustdoc --check option 2020-11-12 14:58:07 +01:00
codeblock-title.rs Update HTML DOM attribute "edition" to "data-edition" 2020-12-23 20:27:12 +01:00
comment-in-doctest.rs Make it build again 2020-02-29 20:47:10 +03:00
const-display.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
const-doc.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-evalutation-ice.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
const-underscore.rs Omit underscore constants from rustdoc 2020-01-04 12:35:23 -08:00
const.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
constructor-imports.rs Remove licenses 2018-12-25 21:08:33 -07:00
crate-version-escape.rs rustdoc: HTML escape crate version 2020-03-01 00:15:44 +00:00
crate-version.rs Stabilize --crate-version option in rustdoc 2020-02-26 22:08:59 +01:00
cross-crate-hidden-impl-parameter.rs Renamed test and added test for same crate 2021-06-25 14:08:06 +08:00
cross-crate-links.rs Remove licenses 2018-12-25 21:08:33 -07:00
cross-crate-primitive-doc.rs Run no_core rustdoc tests on Linux only. 2021-09-22 12:23:28 +02:00
decl_macro_priv.rs Prefer pub(crate) over no modifier 2020-12-25 16:20:08 -08:00
decl_macro.rs rustc_ast_pretty: Don't print space after $ 2021-07-03 16:35:18 -07:00
deep-structures.rs Raise the default recursion limit to 128 2019-07-07 00:12:35 +03:00
default-impl.rs Remove licenses 2018-12-25 21:08:33 -07:00
default-theme.rs Add tests for default-settings 2021-07-22 12:58:59 +02:00
default-trait-method-link.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
default-trait-method.rs rustdoc: Remove default keyword from re-exported trait methods 2019-04-14 23:55:14 +01:00
deprecated-future.rs Clean up rustdoc tests by removing unnecessary features 2020-11-25 14:27:51 +01:00
deprecated-impls.rs Remove licenses 2018-12-25 21:08:33 -07:00
deprecated.rs Add test for item-table with resize to mobile 2021-06-28 21:46:05 +02:00
deref-mut-methods.rs Add test for DerefMut methods 2019-08-06 00:41:52 +02:00
deref-typedef.rs Fix test cases for header titles in sidebar 2021-07-17 11:32:36 -07:00
description_default.rs Use has for non-regexes 2021-02-20 17:51:41 -07:00
description.rs Update src/test/rustdoc/description.rs 2021-02-21 09:31:39 -07:00
doc-assoc-item.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
doc-cfg-hide.rs Allow adding a set of cfg's to hide from being implicitly doc(cfg)'d 2021-10-05 18:04:15 +02:00
doc-cfg-implicit-gate.rs Make cfg implicitly imply doc(cfg) 2021-10-05 17:25:44 +02:00
doc-cfg-implicit.rs Make cfg implicitly imply doc(cfg) 2021-10-05 17:25:44 +02:00
doc-cfg-simplification.rs Simplify doc-cfg rendering based on the current context 2020-10-07 22:54:12 +02:00
doc-cfg-target-feature.rs Remove licenses 2018-12-25 21:08:33 -07:00
doc-cfg-traits.rs Add tests and improve rendering of features on traits 2020-11-14 22:11:45 +01:00
doc-cfg.rs Add test for item-table with resize to mobile 2021-06-28 21:46:05 +02:00
doc-notable_trait.rs Rename #[doc(spotlight)] to #[doc(notable_trait)] 2021-03-15 13:59:54 -07:00
doc-proc-macro.rs Remove licenses 2018-12-25 21:08:33 -07:00
doctest-manual-crate-name.rs force binary filename for compiled doctests 2019-01-04 09:57:17 -06:00
double-quote-escape.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
duplicate-cfg.rs Add test for item-table with resize to mobile 2021-06-28 21:46:05 +02:00
duplicate-flags.rs Change all 'optflag' arguments to 'optflagmulti' 2021-07-10 14:20:32 -07:00
edition-doctest.rs Remove licenses 2018-12-25 21:08:33 -07:00
edition-flag.rs rustdoc: Stabilize edition annotation. 2019-11-08 16:15:17 -08:00
elided-lifetime.rs Cross-crate doc inlining test case for elided lifetime 2020-08-08 01:07:43 +01:00
empty-impls.rs Replace h3 and h4 containing invalid DOM 2021-06-01 21:19:28 +02:00
empty-mod-private.rs Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
empty-mod-public.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-section.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
ensure-src-link.rs Fix target highlighting in rustdoc. 2021-06-16 22:48:23 -07:00
escape-deref-methods.rs Remove licenses 2018-12-25 21:08:33 -07:00
extern-default-method.rs add assertions on existing tests with missing doc source 2021-07-15 00:30:11 +02:00
extern-html-root-url-precedence.rs Give precedence to html_root_url over --extern-html-root-url by default, but add a way to opt-in to the previous behavior 2021-08-19 05:11:22 +00:00
extern-html-root-url.rs Give precedence to html_root_url over --extern-html-root-url by default, but add a way to opt-in to the previous behavior 2021-08-19 05:11:22 +00:00
extern-impl-trait.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
extern-impl.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
extern-links.rs resolve: Reduce scope of pub_use_of_private_extern_crate deprecation lint 2021-02-11 10:15:29 +03:00
extern-method.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
external-cross.rs librustdoc: Use correct heading levels. 2021-10-04 05:01:04 -04:00
external-doc.rs librustdoc: Use correct heading levels. 2021-10-04 05:01:04 -04:00
external-macro-src.rs (rustdoc) [src] link for types defined by macros shows invocation 2020-11-10 01:02:38 +01:00
ffi.rs Remove licenses 2018-12-25 21:08:33 -07:00
fn-pointer-arg-name.rs Remove licenses 2018-12-25 21:08:33 -07:00
fn-sidebar.rs Remove licenses 2018-12-25 21:08:33 -07:00
fn-type.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
force-target-feature.rs Remove licenses 2018-12-25 21:08:33 -07:00
foreigntype-reexport.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
foreigntype.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
generic-impl.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
hidden-impls.rs Remove licenses 2018-12-25 21:08:33 -07:00
hidden-line.rs Remove licenses 2018-12-25 21:08:33 -07:00
hidden-methods.rs Remove licenses 2018-12-25 21:08:33 -07:00
hidden-trait-methods-with-document-hidden-items.rs rustdoc: Don't show hidden trait methods 2021-09-25 16:16:30 +09:00
hidden-trait-methods.rs rustdoc: Don't show hidden trait methods 2021-09-25 16:16:30 +09:00
hidden-trait-struct-impls.rs Remove licenses 2018-12-25 21:08:33 -07:00
hide-unstable-trait.rs Only skip impls of foreign unstable traits 2020-07-19 16:39:20 -04:00
higher-ranked-trait-bounds.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
impl-disambiguation.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
impl-everywhere.rs (rustdoc) fix test for trait impl display 2020-10-25 20:47:05 +01:00
impl-parts-crosscrate.rs Use the name "auto traits" everywhere in the compiler 2020-11-24 16:25:43 -08:00
impl-parts.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
impl-trait-alias.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
implementor-stable-version.rs Update rustdoc test to make it work with newly added rustc passes 2021-02-28 00:48:43 +01:00
index-page.rs Use "Fira Sans" for crate list font 2020-09-01 13:41:56 -07:00
inline-default-methods.rs Remove licenses 2018-12-25 21:08:33 -07:00
internal.rs Migrate from custom elements to divs with classes to be compatible with safari 2021-06-24 16:46:15 +02:00
intra-link-prim-self.rs Fix broken handling of primitive items 2021-09-12 02:30:24 +00:00
intra-link-self-cache.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
invalid.crate.name.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-12834.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-13698.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-15169.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-15318-2.rs Fix broken handling of primitive items 2021-09-12 02:30:24 +00:00
issue-15318-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-15318.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-15347.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-16019.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-16265-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-16265-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-17476.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-18199.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-19181.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-19190-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-19190-3.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
issue-19190.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-20175.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-20646.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-20727-2.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
issue-20727-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-20727-4.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-20727.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-21092.rs Remove rustdoc old style files generation 2019-01-27 00:34:05 +01:00
issue-21474.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
issue-21801.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-22025.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-22038.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
issue-23106.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-23207.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
issue-23511.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-23744.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-23812.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-25001.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-25944.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-26606.rs (rustdoc) [src] link for types defined by macros shows invocation 2020-11-10 01:02:38 +01:00
issue-26995.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-27104.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-27362.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-27759.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-27862.rs tests: doc comments 2019-02-10 23:42:32 +00:00
issue-28478.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
issue-28927.rs resolve: Reduce scope of pub_use_of_private_extern_crate deprecation lint 2021-02-11 10:15:29 +03:00
issue-29449.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-29503.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-29584.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-30109.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-30252.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-30366.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-31808.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-31899.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-32374.rs Add test for item-table with resize to mobile 2021-06-28 21:46:05 +02:00
issue-32395.rs Add from_def_id_and_kind reducing duplication in rustdoc 2020-11-17 15:16:03 -05:00
issue-32556.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-32890.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-33069.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-33178-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-33178.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-33302.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
issue-33592.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-34025.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-34274.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-34423.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-34473.rs rustdoc: remove def_ctor hack. 2019-04-30 12:55:38 +03:00
issue-34928.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-35169-2.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-35169.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-35488.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-36031.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-38129.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
issue-38219.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-40936.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-41783.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-42760.rs librustdoc: Use correct heading levels. 2021-10-04 05:01:04 -04:00
issue-42875.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-43153.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-43701.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-43869.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-43893.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-45584.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
issue-46271.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-46377.rs Migrate from custom elements to divs with classes to be compatible with safari 2021-06-24 16:46:15 +02:00
issue-46380-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-46727.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-46766.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-46767.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-46976.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-47038.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-47197-blank-line-in-doc-block.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-47639.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-48377.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-48414.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-50159.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-51236.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-52873.rs Remove mem::uninitalized from tests 2019-12-22 21:58:12 -05:00
issue-53689.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-53812.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
issue-54478-demo-allocator.rs This is a regression test for #54478. 2018-10-24 12:19:47 +02:00
issue-54705.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-55001.rs Fix Rustdoc ICE when checking blanket impls 2018-10-22 19:40:43 -04:00
issue-55321.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-55364.rs Migrate from custom elements to divs with classes to be compatible with safari 2021-06-24 16:46:15 +02:00
issue-56701.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
issue-56822.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-57180.rs Add regression test for issue, apply suggestion to convert to assert_eq 2019-08-28 00:21:30 -04:00
issue-60482.rs upgrade rustdoc's pulldown-cmark to 0.5.2 2019-05-29 10:59:59 -04:00
issue-60726.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-61592.rs Rustdoc render public underscore_imports as Re-exports 2020-12-31 09:07:51 +00:00
issue-67851-both.rs Distinguish between private items and hidden items in rustdoc 2020-01-04 11:28:53 -08:00
issue-67851-hidden.rs Distinguish between private items and hidden items in rustdoc 2020-01-04 11:28:53 -08:00
issue-67851-neither.rs Distinguish between private items and hidden items in rustdoc 2020-01-04 11:28:53 -08:00
issue-67851-private.rs Distinguish between private items and hidden items in rustdoc 2020-01-04 11:28:53 -08:00
issue-72340.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
issue-73061-cross-crate-opaque-assoc-type.rs Add more tests for type alias impl Trait 2020-06-11 16:24:01 +01:00
issue-74083.rs Fix tests that incorrectly used !@has instead of @!has 2020-12-31 12:47:09 -08:00
issue-75588.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-76501.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
issue-78673.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
issue-79201.rs Apply doc(cfg) from parent items while collecting trait impls 2020-11-23 17:47:29 +01:00
issue-80233-normalize-auto-trait.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-82465-asref-for-and-of-local.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
issue-85454.rs rustdoc: Render <Self as X>::Y type casts properly across crate bounds 2021-06-18 23:39:55 +02:00
issue-86620.rs add check on anchor link 2021-07-06 22:13:08 +02:00
issue-88600.rs fix ICE on hidden tuple variant fields 2021-09-06 22:46:02 +02:00
issue-89309-heading-levels.rs Add tests for ensuring docblock headings. 2021-10-04 22:28:04 -04:00
issue-89852.rs Rework the equivalent test to work with sidebar-items.js 2021-10-15 16:54:31 +02:00
keyword.rs Update rustdoc test 2021-05-31 10:30:16 +02:00
line-breaks.rs Remove licenses 2018-12-25 21:08:33 -07:00
link-assoc-const.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
link-title-escape.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro_pub_in_module.rs Fix ICE on pub macros defined within a non-module type namespace. 2021-01-06 15:13:39 +01:00
macro_rules-matchers.rs Fix rustdoc test case 2021-10-04 18:19:58 -07:00
macro-document-private-duplicate.rs Disable a spuriously failing test 2021-09-24 20:28:47 +03:00
macro-document-private.rs Update tests 2021-08-28 00:24:39 -07:00
macro-in-async-block.rs Add rustdoc tests from #72088 2020-07-15 10:54:05 -04:00
macro-in-closure.rs Add rustdoc tests from #72088 2020-07-15 10:54:05 -04:00
macro-indirect-use.rs Update tests 2021-08-28 00:24:39 -07:00
macro-private-not-documented.rs Add regression test 2021-08-29 00:55:58 -07:00
macros.rs rustc_ast_pretty: Don't print space after $ 2021-07-03 16:35:18 -07:00
manual_impl.rs Remove toggle for "undocumented items." 2021-05-30 21:15:22 -07:00
markdown-summaries.rs Render Markdown in search results 2020-12-03 14:11:37 -08:00
masked.rs Remove licenses 2018-12-25 21:08:33 -07:00
method-list.rs Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
mod-stackoverflow.rs Remove licenses 2018-12-25 21:08:33 -07:00
module-impls.rs Remove licenses 2018-12-25 21:08:33 -07:00
mut-params.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
namespaces.rs Remove licenses 2018-12-25 21:08:33 -07:00
negative-impl-sidebar.rs Fix test cases for header titles in sidebar 2021-07-17 11:32:36 -07:00
negative-impl.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
no_std-primitive.rs Fix broken handling of primitive items 2021-09-12 02:30:24 +00:00
no-compiler-reexport.rs Add test for compiler reexports removal 2020-10-12 11:26:01 +02:00
no-crate-filter.rs Removed more copyright notices. 2019-01-13 19:47:02 +00:00
no-run-still-checks-lints.rs Remove licenses 2018-12-25 21:08:33 -07:00
no-stack-overflow-25295.rs Moved issue tests to subdirs and normalised names. 2019-03-14 01:00:49 +00:00
normalize-assoc-item.rs Add -Z normalize-docs and enable it for compiler docs 2020-11-29 17:21:24 -05:00
nul-error.rs Remove licenses 2018-12-25 21:08:33 -07:00
playground-arg.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
playground-empty.rs Remove licenses 2018-12-25 21:08:33 -07:00
playground-none.rs Remove licenses 2018-12-25 21:08:33 -07:00
playground-syntax-error.rs rustdoc: Avoid panic when parsing codeblocks for playground links 2020-01-04 18:42:06 +00:00
playground.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
primitive-generic-impl.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
primitive-link.rs rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
primitive-reexport.rs rustdoc: link to stable/beta docs consistently in documentation 2021-06-04 14:18:21 -04:00
private-type-alias.rs Remove licenses 2018-12-25 21:08:33 -07:00
proc-macro.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
process-termination.rs Revert "implicit Option-returning doctests" 2019-07-01 16:41:37 +02:00
pub-extern-crate.rs add test for pub extern crate 2019-01-10 21:18:46 -05:00
pub-method.rs Update rustdoc tests 2021-06-02 20:30:18 +02:00
pub-use-extern-macros.rs Remove licenses 2018-12-25 21:08:33 -07:00
range-arg-pattern.rs Do not ICE on range patterns in function arguments 2021-02-10 16:41:48 +01:00
raw-ident-eliminate-r-hashtag.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
recursion1.rs Remove licenses 2018-12-25 21:08:33 -07:00
recursion2.rs Remove licenses 2018-12-25 21:08:33 -07:00
recursion3.rs Remove licenses 2018-12-25 21:08:33 -07:00
recursive-deref-sidebar.rs rename test-cases 2021-06-16 14:42:51 +02:00
recursive-deref.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
redirect-const.rs Remove licenses 2018-12-25 21:08:33 -07:00
redirect-map-empty.rs Add tests for --generate-redirect-map option 2021-02-23 11:13:35 +01:00
redirect-map.rs Add tests for --generate-redirect-map option 2021-02-23 11:13:35 +01:00
redirect-rename.rs Add more tests for renamed items 2020-11-21 10:19:02 -05:00
redirect.rs Moved issue tests to subdirs and normalised names. 2019-03-14 01:00:49 +00:00
reexport-check.rs Migrate from custom elements to divs with classes to be compatible with safari 2021-06-24 16:46:15 +02:00
reexport-stability-tags-deprecated-and-portability.rs Test Deprecated, Portability, and Unstable. 2021-04-18 10:46:06 +02:00
reexport-stability-tags-unstable-and-portability.rs Test Deprecated, Portability, and Unstable. 2021-04-18 10:46:06 +02:00
reexports-priv.rs * Remove left margin on items declaration at the top of their documentation page 2021-10-18 15:06:38 +02:00
reexports.rs * Remove left margin on items declaration at the top of their documentation page 2021-10-18 15:06:38 +02:00
remove-duplicates.rs Remove licenses 2018-12-25 21:08:33 -07:00
remove-url-from-headings.rs Fix tests that incorrectly used !@has instead of @!has 2020-12-31 12:47:09 -08:00
return-impl-trait.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
rustc_deprecated-future.rs Allow since="TBD" for rustc_deprecated 2020-12-16 13:21:24 -05:00
rustc-macro-crate.rs Improve Rustdoc's handling of procedural macros 2019-08-24 13:11:57 -04:00
safe-intrinsic.rs Add test for safe intrinsics 2021-06-15 22:47:26 +02:00
same-crate-hidden-impl-parameter.rs Renamed test and added test for same crate 2021-06-25 14:08:06 +08:00
sanitizer-option.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
search-index-summaries.rs Remove licenses 2018-12-25 21:08:33 -07:00
search-index.rs Remove licenses 2018-12-25 21:08:33 -07:00
short-docblock-codeblock.rs Migrate from custom elements to divs with classes to be compatible with safari 2021-06-24 16:46:15 +02:00
short-docblock.rs librustdoc: Use correct heading levels. 2021-10-04 05:01:04 -04:00
show-const-contents.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
sidebar-items.rs Fix test cases for header titles in sidebar 2021-07-17 11:32:36 -07:00
sidebar-link-generation.rs Remove licenses 2018-12-25 21:08:33 -07:00
sidebar-links-to-foreign-impl.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
sized_trait.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
smart-punct.rs librustdoc: Use correct heading levels. 2021-10-04 05:01:04 -04:00
smoke.rs Remove licenses 2018-12-25 21:08:33 -07:00
sort-modules-by-appearance.rs Remove licenses 2018-12-25 21:08:33 -07:00
source-file.rs Remove licenses 2018-12-25 21:08:33 -07:00
spotlight-from-dependency.rs Replace h3 and h4 containing invalid DOM 2021-06-01 21:19:28 +02:00
src-links-auto-impls.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
src-links-external.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
src-links.rs Remove rustdoc old style files generation 2019-01-27 00:34:05 +01:00
stability.rs Rename "stability" CSS class to "item-info" 2020-11-24 18:07:03 +01:00
static-root-path.rs use --static-root-path for settings.js 2019-04-15 11:20:08 -05:00
static.rs fixup! Avoid extraneous space between visibility kw and ident for statics 2020-10-13 16:47:53 -05:00
struct-arg-pattern.rs Renamed test 2021-04-05 00:29:43 +01:00
struct-field.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
struct-implementations-title.rs Add test for new implementations section title 2020-05-05 22:56:23 +02:00
structfields.rs Remove render-redirect-pages option in rustdoc 2020-07-02 14:14:59 +02:00
tab_title.rs Just merge all of the <title> tests into one 2021-04-20 19:56:28 -04:00
table-in-docblock.rs Add tests to ensure that <table> don't break doc blocks width anymore 2021-09-08 15:09:47 +02:00
task-lists.rs Enable 'task list' markdown extension 2021-02-06 00:08:21 -05:00
test-lists.rs Remove licenses 2018-12-25 21:08:33 -07:00
test-parens.rs Remove licenses 2018-12-25 21:08:33 -07:00
test-strikethrough.rs Add test for strikethrough in rustdoc 2020-05-08 18:14:57 +02:00
thread-local-src.rs (rustdoc) [src] link for types defined by macros shows invocation 2020-11-10 01:02:38 +01:00
titles.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
toggle-item-contents.rs * Remove left margin on items declaration at the top of their documentation page 2021-10-18 15:06:38 +02:00
toggle-method.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
toggle-trait-fn.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
trait_alias.rs * Remove left margin on items declaration at the top of their documentation page 2021-10-18 15:06:38 +02:00
trait-alias-mention.rs PR feedback 2021-05-02 12:29:23 -07:00
trait-impl-items-links-and-anchors.rs Add tests for implementors associated types display 2021-09-01 11:01:42 +02:00
trait-impl.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
trait-self-link.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
trait-src-link.rs add [src] links to methods on a trait's page 2020-11-18 22:10:10 +00:00
trait-visibility.rs Do not print visibility in external traits 2021-05-02 21:16:50 +02:00
traits-in-bodies-private.rs Remove licenses 2018-12-25 21:08:33 -07:00
traits-in-bodies.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
tuple-struct-fields-doc.rs Add test for enum item tuple fields documentation 2021-07-26 11:15:20 +02:00
tuples.rs Remove licenses 2018-12-25 21:08:33 -07:00
type-layout-flag-required.rs Only show type layout info if --show-type-layout is passed 2021-05-11 09:55:31 -07:00
type-layout.rs Correctly handle niche of enum 2021-09-06 07:10:48 +00:00
typedef.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
unindent.md Update tests 2020-10-29 11:43:21 +01:00
unindent.rs Remove doc(include) 2021-06-04 08:05:54 -04:00
union.rs Remove licenses 2018-12-25 21:08:33 -07:00
unit-return.rs Avoid sorting predicates by DefId 2021-03-13 13:45:12 -05:00
universal-impl-trait.rs Remove licenses 2018-12-25 21:08:33 -07:00
unneeded-trait-implementations-title.rs Remove licenses 2018-12-25 21:08:33 -07:00
use-attr.rs don't try to get a DefId for a Def that doesn't have one 2019-02-01 11:17:33 -06:00
useless_lifetime_bound.rs Add test from #59033 2019-04-03 22:18:41 +02:00
variadic.rs rustc: rely on c_variadic == true instead of CVarArgs in HIR/Ty fn signatures. 2019-09-28 17:39:00 +03:00
viewpath-rename.rs Remove licenses 2018-12-25 21:08:33 -07:00
viewpath-self.rs Remove licenses 2018-12-25 21:08:33 -07:00
visibility.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
where-sized.rs Remove licenses 2018-12-25 21:08:33 -07:00
where.rs Rustdoc accessibility: use real headers for doc items 2021-07-25 21:41:57 +00:00
without-redirect.rs put back macro redirect 2019-02-09 14:29:03 +01:00
wrapping.rs respect alternate flag when formatting impl trait 2019-02-12 13:45:36 -05:00