rust/tests/rustdoc
bors d1a0fa5ed3 Auto merge of #118441 - GuillaumeGomez:display-stability-version, r=rustdoc
Always display stability version even if it's the same as the containing item

Fixes https://github.com/rust-lang/rust/issues/118439.

Currently, if the containing item's version is the same as the item's version (like a method), we don't display it on the item.

This was something done on purpose as you can see [here](e9b7bf0114/src/librustdoc/html/render/mod.rs (L949-L955)). It was implemented in https://github.com/rust-lang/rust/pull/30686.

I think we should change this because on pages with a lot of items, if someone arrives (through the search or a link) to an item far below the page, they won't know the stability version unless they scroll to the top, which isn't great.

You can see the result [here](https://rustdoc.crud.net/imperio/display-stability-version/std/pin/struct.Pin.html#method.new).

r? `@notriddle`
2024-04-19 14:17:29 +00:00
..
auxiliary rustdoc: move tests into applicable subdirectories 2024-04-15 15:22:04 -07:00
const-generics [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
deref Update rustdoc tests for stability display 2023-11-29 12:10:16 +01:00
doctest [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
duplicate_impls
generic-associated-types
inline_cross Rollup merge of #123574 - notriddle:notriddle/issue-d, r=fmease 2024-04-16 15:19:12 +02:00
inline_local [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
intra-doc [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
intra-doc-crate [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
notable-trait rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
primitive Add f16 and f128 to rustdoc's PrimitiveType 2024-04-06 23:47:40 -04:00
src-links
synthetic_auto Rollup merge of #123574 - notriddle:notriddle/issue-d, r=fmease 2024-04-16 15:19:12 +02:00
test_option_check [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
type-alias Add test case for primitive links in alias js 2024-02-24 16:47:29 -07:00
alias-reexport.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
alias-reexport2.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
all.rs
anchor-id-duplicate-method-name-25001.rs
anchor-id-trait-method-15169.rs
anchor-id-trait-tymethod-28478.rs
anchors.no_const_anchor.html
anchors.no_const_anchor2.html
anchors.no_method_anchor.html
anchors.no_trait_method_anchor.html
anchors.no_tymethod_anchor.html
anchors.no_type_anchor.html
anchors.no_type_anchor2.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-foreign.rs
asm-foreign2.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
assoc-consts-version.rs
assoc-consts.rs
assoc-item-cast.rs
assoc-type-bindings-20646.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
assoc-types.rs
associated-consts.rs
async-fn-opaque-item.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
async-fn.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
async-move-doctest.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
async-trait-sig.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
async-trait.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
attribute-rendering.rs
attributes.rs
auto-impl-for-trait.rs
auto-impl-primitive.rs
auto-trait-bounds-by-associated-type-50159.rs Expose Freeze trait again 2024-02-29 13:55:11 +00:00
auto-trait-bounds-inference-variables-54705.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
auto-trait-bounds-where-51236.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
auto-trait-negative-impl-55321.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
auto-trait-not-send.rs
auto-traits.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
auto_aliases.rs
bad-codeblock-syntax.rs
blank-line-in-doc-block-47197.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
blanket-impl-29503.rs
blanket-impl-78673.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
blanket-reexport-item.rs
bounds.rs rustdoc: fix and refactor HTML rendering a bit 2024-02-16 21:29:16 +01:00
cap-lints.rs
cfg-doctest.rs
cfg_doc_reexport.rs
check-source-code-urls-to-def-std.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
check-source-code-urls-to-def.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
check-styled-link.rs
check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
codeblock-title.rs
comment-in-doctest.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
compiler-derive-proc-macro.rs rustdoc: remove small from small-section-header 2023-11-29 13:40:07 -07:00
const-display.rs Update rustdoc tests for stability display 2023-11-29 12:10:16 +01:00
const-doc.rs
const-effect-param.rs
const-fn-76501.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
const-fn-effects.rs
const-fn.rs
const-intrinsic.rs
const-rendering-macros-33302.rs
const-underscore.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
const-value-display.rs
const.rs
constructor-imports.rs
crate-version-escape.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
crate-version-extra.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
crate-version.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
cross-crate-hidden-assoc-trait-items.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
cross-crate-hidden-impl-parameter.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
cross-crate-links.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
cross-crate-primitive-doc.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
custom_code_classes.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
decl_macro.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
decl_macro_priv.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
deduplicate-glob-import-impl-21474.rs
deduplicate-trait-impl-22025.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
deep-structures.rs
default-impl.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
default-theme.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
default-trait-method-link.rs
default-trait-method.rs
demo-allocator-54478.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
deprecated-future-staged-api.rs Remove mention of rust to make the error message generic. 2023-12-05 09:18:41 +01:00
deprecated-future.rs
deprecated-impls.rs
deprecated.rs
deref-methods-19190-foreign-type.rs
deref-methods-19190-inline.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
deref-methods-19190.rs
deref-mut-35169-2.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
deref-mut-35169.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
description.rs
description_default.rs
disambiguate-anchors-32890.rs
disambiguate-anchors-header-29449.rs Update rustdoc headings tests 2023-12-05 15:59:40 +01:00
display-hidden-items.rs tests 2024-03-14 14:51:01 +01:00
doc-assoc-item.rs
doc-attr-comment-mix-42760.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
doc-auto-cfg.rs
doc-cfg-hide.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
doc-cfg-implicit-gate.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
doc-cfg-implicit.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
doc-cfg-inherit-from-module-79201.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
doc-cfg-simplification.rs
doc-cfg-target-feature.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
doc-cfg-traits.rs
doc-cfg.rs
doc-hidden-method-13698.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
doc-hidden-private-67851-both.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
doc-hidden-private-67851-hidden.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
doc-hidden-private-67851-neither.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
doc-hidden-private-67851-private.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
doc-hidden-trait-implementors-33069.rs
doc-proc-macro.rs
doc-test-attr-18199.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
doc_auto_cfg_nested_impl.rs
document-hidden-items-15347.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00: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 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
duplicated-glob-reexport-60522.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
duplicated_impl.rs
early-unindent.rs
edition-doctest.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
edition-flag.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
elided-lifetime.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
empty-doc-comment.rs
empty-impl-block-private-with-doc.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
empty-impl-block-private.rs
empty-impl-block.rs
empty-impls.rs
empty-mod-private.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
empty-mod-public.rs
empty-section.rs Expose Freeze trait again 2024-02-29 13:55:11 +00:00
ensure-src-link.rs Update rustdoc tests for stability display 2023-11-29 12:10:16 +01:00
enum-headings.rs
enum-variant-fields-heading.rs Add regression test for #118195 2023-12-04 12:13:24 +01:00
enum-variant-fields-heading.variants.html Add regression test for #118195 2023-12-04 12:13:24 +01:00
enum-variant-private-46767.rs
enum-variant-reexport-35488.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
enum-variant-value.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
extern-default-method.no_href_on_anchor.html
extern-default-method.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
extern-fn-22038.rs
extern-html-root-url-precedence.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
extern-html-root-url.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
extern-impl-trait.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
extern-impl.rs
extern-links.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
extern-method.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
external-cross.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
external-doc.rs
external-macro-src.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
feature-gate-doc_auto_cfg.rs
ffi.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
files-creation-hidden.rs
files-creation-private.rs
fn-bound.rs
fn-pointer-arg-name.rs
fn-sidebar.rs
fn-type.rs
footnote-definition-without-blank-line-100638.rs Add regression test for #100638 2024-01-29 14:14:03 +01:00
footnote-in-summary.rs
force-target-feature.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
foreign-implementors-js-43701.rs
foreigntype-reexport.rs
foreigntype.rs
generic-const-items.rs
generic-impl.rs
generic_const_exprs.rs
glob-reexport-attribute-merge-120487.rs Add regression test for #120487 2024-01-30 18:14:09 +01:00
glob-reexport-attribute-merge-doc-auto-cfg.rs Add regression test for doc_auto_cfg feature handling with glob reexports 2024-02-01 11:47:02 +01:00
glob-shadowing-const.rs
glob-shadowing.rs
hidden-extern-34025.rs
hidden-impls.rs
hidden-line.rs
hidden-methods.rs
hidden-private.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
hidden-trait-methods-with-document-hidden-items.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
hidden-trait-methods.rs
hidden-trait-struct-impls.rs
hide-complex-unevaluated-const-arguments.rs
hide-complex-unevaluated-consts.rs
hide-mut-methods-if-no-derefmut-impl-74083.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
hide-unstable-trait.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
higher-ranked-trait-bounds.rs
highlight-invalid-rust-12834.rs
html-no-source.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
ice-reexport-crate-root-28927.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
ice-type-error-19181.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
impl-alias-substituted.rs
impl-assoc-type-21092.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
impl-blanket-53689.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
impl-box.rs
impl-disambiguation.rs
impl-everywhere.rs
impl-in-const-block.rs
impl-on-ty-alias-issue-119015.rs Add regression test for #119015 and update tests 2024-01-20 13:21:03 +01:00
impl-parts-crosscrate.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
impl-parts.rs
impl-ref-20175.rs
impl-trait-43869.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
impl-trait-alias.rs
impl-type-parameter-33592.rs
implementor-stable-version.rs Update rustdoc tests for stability display 2023-11-29 12:10:16 +01:00
implementors-unstable-75588.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
impossible-default.rs
include_str_cut.rs
index-page.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
infinite-redirection-16265-1.rs
infinite-redirection-16265-2.rs
infinite-redirection.rs
inherent-projections.rs
inline-assoc-type-20727-bindings.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
inline-assoc-type-20727-bounds-deref.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
inline-assoc-type-20727-bounds-index.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
inline-assoc-type-20727-bounds.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
inline-default-methods.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
inline-private-with-intermediate-doc-hidden.rs rustdoc: remove small from small-section-header 2023-11-29 13:40:07 -07:00
inline-rename-34473.rs
internal.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
intra-doc-link-method-trait-impl-72340.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
invalid$crate$name.rs Update test names to not have dots 2024-03-05 09:02:33 +00:00
issue-80233-normalize-auto-trait.rs
issue-81141-private-reexport-in-public-api-2.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-81141-private-reexport-in-public-api-generics.rs
issue-81141-private-reexport-in-public-api-hidden.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-81141-private-reexport-in-public-api-private.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
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 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-86620.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-88600.rs
issue-89309-heading-levels.rs
issue-89852.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-94183-blanket-impl-reexported-trait.rs
issue-95633.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-95873.rs
issue-96381.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-98697.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-99221-multiple-macro-rules-w-same-name-submodule.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-99221-multiple-macro-rules-w-same-name.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-99221-multiple-structs-w-same-name.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-99734-multiple-foreigns-w-same-name.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-99734-multiple-mods-w-same-name.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-100204-inline-impl-through-glob-import.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-100241.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-100620.rs
issue-101743-bold-tag.rs
issue-102154.rs
issue-105735-overlapping-reexport-2.rs rustdoc: remove small from small-section-header 2023-11-29 13:40:07 -07:00
issue-105735-overlapping-reexport.rs rustdoc: remove small from small-section-header 2023-11-29 13:40:07 -07:00
issue-105952.rs
issue-106142.rs
issue-106421-not-internal.rs Add test cases for inlining compiler-private items 2024-02-24 15:38:55 -07:00
issue-106421.rs Add test cases for inlining compiler-private items 2024-02-24 15:38:55 -07:00
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 rustdoc: remove small from small-section-header 2023-11-29 13:40:07 -07:00
issue-109449-doc-hidden-reexports.rs rustdoc: remove small from small-section-header 2023-11-29 13:40:07 -07:00
issue-109695-crate-doc-hidden.rs
issue-110422-inner-private.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-110629-private-type-cycle.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
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 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-115295-macro-const-display.rs
issue-118180-empty-tuple-struct.rs
item-desc-list-at-start.item-table.html
item-desc-list-at-start.rs
jump-to-def-doc-links-calls.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
jump-to-def-doc-links.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
jump-to-def-macro.rs Add regression test for link generation on foreign macro in jump to defintion feature 2024-02-27 16:20:11 +01:00
jump-to-non-local-method.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
keyword.rs
legacy-const-generic.rs
lifetime-name.rs
line-breaks.rs rustdoc: fix up old test 2024-03-12 01:25:15 +01:00
link-assoc-const.rs
link-extern-crate-33178.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
link-extern-crate-item-30109.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
link-extern-crate-title-33178.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
link-title-escape.rs
links-in-headings.rs Add tests for headings anchor and links in headings 2023-12-05 15:59:40 +01:00
local-reexport-doc.rs
logo-class-default.rs
logo-class-rust.rs Stop using the trigram of heaven as a hamburger button 2023-12-18 13:56:55 -07:00
logo-class.rs Stop using the trigram of heaven as a hamburger button 2023-12-18 13:56:55 -07:00
macro-doc-comment-23812.rs
macro-document-private-duplicate.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
macro-document-private.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
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
macro-in-async-block.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
macro-in-closure.rs
macro-indirect-use.rs
macro-private-not-documented.rs
macro_pub_in_module.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
macro_rules-matchers.rs
macros.rs
manual_impl.rs
markdown-60482.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
markdown-table-escape-pipe-27862.rs
masked.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
method-link-foreign-trait-impl-17476.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00: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 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
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 rustdoc: remove small from small-section-header 2023-11-29 13:40:07 -07:00
nested-modules.rs
no-compiler-reexport.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
no-run-still-checks-lints.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
no-stack-overflow-25295.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
no-unit-struct-field.rs
no_std-primitive.rs
non_lifetime_binders.rs
normalize-assoc-item.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
nul-error.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
playground-arg.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
playground-empty.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
playground-none.rs
playground-syntax-error.rs
playground.rs add extra indent spaces for rust-playground link 2024-02-15 18:57:21 +08:00
primitive-link.rs
primitive-raw-pointer-dox-15318-3.rs
primitive-raw-pointer-link-15318.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
primitive-raw-pointer-link-no-inlined-15318-2.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
primitive-reexport.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
primitive-reference.rs
primitive-slice-auto-trait.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
primitive-tuple-auto-trait.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
primitive-tuple-variadic.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
primitive-unit-auto-trait.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
private-fields-tuple-struct.rs
private-type-alias.rs
private-use-decl-macro-47038.rs
private-use.rs
proc-macro.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
process-termination.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
pub-extern-crate.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
pub-method.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
pub-reexport-of-pub-reexport-46506.rs rustdoc: remove small from small-section-header 2023-11-29 13:40:07 -07:00
pub-use-extern-macros.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
public-impl-mention-private-generic-46380-2.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
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 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
redirect-map.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
redirect-rename.rs
redirect.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
reexport-attr-merge.rs
reexport-cfg.rs
reexport-check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
reexport-dep-foreign-fn.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
reexport-doc-hidden-inside-private.rs
reexport-doc-hidden.rs
reexport-doc.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
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 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
reexports.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
remove-duplicates.rs
remove-url-from-headings.rs Update rustdoc headings tests 2023-12-05 15:59:40 +01:00
render-enum-variant-structlike-32395.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
repr.rs
return-impl-trait.rs
rfc-2632-const-trait-impl.rs rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
rustc-incoherent-impls.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
rustc-macro-crate.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
safe-intrinsic.rs
same-crate-hidden-impl-parameter.rs
sanitizer-option.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
search-index-primitive-inherent-method-23511.rs
search-index-summaries.rs rustdoc-search: shard the search result descriptions 2024-03-16 22:07:30 -07:00
search-index.rs
short-docblock-codeblock.rs
short-docblock.rs Update rustdoc headings tests 2023-12-05 15:59:40 +01:00
short-line.md
show-const-contents.rs
sidebar-all-page.rs
sidebar-items.rs
sidebar-link-generation.rs
sidebar-links-to-foreign-impl.rs
sidebar-trait-impl-disambiguate-78701.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -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-53812.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
sort-modules-by-appearance.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
source-code-highlight.rs Add regression test for inclusion of whitespace characters in rustdoc highlighting 2024-02-28 16:08:46 +01:00
source-file.rs
source-version-separator.rs
src-link-external-macro-26606.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
src-links-auto-impls.rs
src-links-external.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
src-links-implementor-43893.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
src-links-inlined-34274.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
src-links.rs
src-mod-path-absolute-26995.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
stability.rs Sort unstable items last in rustdoc, instead of first 2023-11-23 17:20:13 -08:00
staged-api-deprecated-unstable-32374.rs
staged-api-feature-issue-27759.rs
static-root-path.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
static.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
strip-block-doc-comments-stars.docblock.html
strip-block-doc-comments-stars.rs
strip-enum-variant.no-not-shown.html
strip-enum-variant.rs
strip-priv-imports-pass-27104.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
struct-arg-pattern.rs
struct-field.rs
struct-implementations-title.rs
structfields.rs
summary-codeblock-31899.rs
summary-header-46377.rs rustdoc: rename issue-\d+.rs tests to have meaningful names (part 5) 2024-01-03 15:33:12 -07:00
summary-reference-link-30366.rs
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
toggle-item-contents.rs
toggle-method.rs
toggle-trait-fn.rs
trait-alias-mention.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
trait-impl-items-links-and-anchors.rs
trait-impl.rs
trait-implementations-duplicate-self-45584.rs
trait-item-info.rs Add regression test for #121772 2024-03-01 15:33:02 +01:00
trait-object-safe.rs Strenghten tests/rustdoc/trait-object-safe.rs to prevent unforeseen regression 2023-12-23 11:28:33 +01:00
trait-self-link.rs
trait-src-link.rs
trait-visibility.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
trait_alias.rs
traits-in-bodies-private.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
traits-in-bodies.rs
tuple-struct-fields-doc.rs
tuple-struct-where-clause-34928.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 Use generic NonZero in tests. 2024-02-25 12:03:48 +01:00
typedef-inner-variants-lazy_type_alias.rs rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
typedef-inner-variants.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
typedef.rs
underscore-import-61592.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-04-15 15:13:05 -07:00
unindent.md
unindent.rs
union-fields-html.rs
union.rs
unit-return.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
universal-impl-trait.rs
unneeded-trait-implementations-title.rs
use-attr.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
useless_lifetime_bound.rs
variadic.rs
version-separator-without-source.rs
viewpath-rename.rs
viewpath-self.rs
visibility.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
where-clause-order.rs
where-sized.rs
where.alpha_trait_decl.html Update snapshots of rustdoc tests to take into account the comment highlighting 2023-12-01 11:35:01 +01:00
where.bravo_trait_decl.html rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
where.charlie_fn_decl.html rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
where.golf_type_alias_decl.html rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
where.rs
where.SWhere_Echo_impl.html rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
where.SWhere_Simd_item-decl.html Update snapshots of rustdoc tests to take into account the comment highlighting 2023-12-01 11:35:01 +01:00
where.SWhere_TraitWhere_item-decl.html
whitespace-after-where-clause.enum.html rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
whitespace-after-where-clause.enum2.html
whitespace-after-where-clause.rs
whitespace-after-where-clause.struct.html rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
whitespace-after-where-clause.struct2.html
whitespace-after-where-clause.trait.html rustdoc: div.where instead of fmt-newline class 2023-11-30 10:43:40 -07:00
whitespace-after-where-clause.trait2.html
whitespace-after-where-clause.union.html Update snapshots of rustdoc tests to take into account the comment highlighting 2023-12-01 11:35:01 +01:00
whitespace-after-where-clause.union2.html Update snapshots of rustdoc tests to take into account the comment highlighting 2023-12-01 11:35:01 +01:00
without-redirect.rs
wrapping.rs