rust/tests/rustdoc
bors 72b21e1a64 Auto merge of #139558 - camelid:mgca-const-items, r=oli-obk,BoxyUwU
mgca: Add ConstArg representation for const items

tracking issue: rust-lang/rust#132980
fixes rust-lang/rust#131046
fixes rust-lang/rust#134641

As part of implementing `min_generic_const_args`, we need to distinguish const items that can be used in the type system, such as in associated const equality projections, from const items containing arbitrary const code, which must be kept out of the type system. Specifically, all "type consts" must be either concrete (no generics) or generic with a trivial expression like `N` or a path to another type const item.

To syntactically distinguish these cases, we require, for now at least, that users annotate all type consts with the `#[type_const]` attribute. Then, we validate that the const's right-hand side is indeed eligible to be a type const and represent it differently in the HIR.

We accomplish this representation using a new `ConstItemRhs` enum in the HIR, and a similar but simpler enum in the AST. When `#[type_const]` is **not** applied to a const (e.g. on stable), we represent const item right-hand sides (rhs's) as HIR bodies, like before. However, when the attribute is applied, we instead lower to a `hir::ConstArg`. This syntactically distinguishes between trivial const args (paths) and arbitrary expressions, which are represented using `AnonConst`s. Then in `generics_of`, we can take advantage of the existing machinery to bar the `AnonConst` rhs's from using parent generics.
2025-11-08 22:31:33 +00:00
..
anchors Created tests/rustdoc/extern subfolder to limit number of files at the top level 2025-05-05 17:49:12 +02:00
assoc Created tests/rustdoc/assoc subfolder to limit number of files at the top level 2025-05-05 17:47:18 +02:00
async Created tests/rustdoc/async subfolder to limit number of files at the top level 2025-05-05 17:49:12 +02:00
auto Created tests/rustdoc/auto subfolder to limit number of files at the top level 2025-05-05 17:47:18 +02:00
auxiliary rustdoc: hide #[repr(...)] if it isn't part of the public ABI 2025-09-25 11:49:27 +02:00
const-generics Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
constant Fix rustdoc tests 2025-11-08 13:50:48 -05:00
cross-crate-info rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
deref rustdoc: be more strict about "Methods from Deref" 2025-03-22 12:47:05 -05:00
doc-cfg Move rustdoc tests to appropriate subdirectories 2025-10-26 19:16:41 -07:00
doctest rustdoc: use descriptive tooltip if doctest is conditionally ignored 2025-05-24 14:15:20 -05:00
duplicate_impls rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-09-12 13:47:51 -07:00
enum rustdoc: update attribute tests 2025-08-23 11:27:03 +02:00
extern Test renamed crates in rustdoc 2025-07-28 13:34:03 +01:00
generic-associated-types rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-09-12 13:47:51 -07:00
impl Put back the doc_cfg code behind a nightly feature 2025-09-27 11:29:49 +02:00
inline_cross Fix rustdoc tests 2025-11-08 13:50:48 -05:00
inline_local Fixed tidy error 2025-02-23 22:24:00 +05:30
intra-doc Add tests for new tyalias intra-doc link disambiguator 2025-09-26 15:07:12 +02:00
intra-doc-crate Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
jump-to-def Better handling of paths in link to def feature 2025-08-10 12:00:08 +02:00
macro Add regression test for #148184 2025-10-28 15:44:52 +01:00
merge-cross-crate-info rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
notable-trait rustdoc: {Meta,Pointee,}Sized in non-minicore 2025-06-16 23:04:36 +00:00
primitive rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
private Created tests/rustdoc/private subfolder to limit number of files at the top level 2025-05-05 17:47:18 +02:00
reexport Remove doc_auto_cfg feature as well 2025-09-27 11:30:57 +02:00
sidebar rustdoc: Finalize dyn compatibility renaming 2025-01-22 05:03:54 +01:00
source-code-pages Better handling of paths in link to def feature 2025-08-10 12:00:08 +02:00
synthetic_auto Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +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 rustdoc: update attribute tests 2025-08-23 11:27:03 +02:00
all.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
anon-fn-params.rs rustdoc: Properly clean fn params in all contexts 2025-04-17 08:55:53 +02:00
anonymous-lifetime.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02: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 Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
asm-foreign.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
asm-foreign2.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
asref-for-and-of-local-82465.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
attributes-2021-edition.rs [rustdoc] Display unsafe attrs with edition 2024 unsafe() wrappers. 2025-07-23 00:00:01 +00:00
attributes-inlining-108281.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
attributes-re-export-2021-edition.rs [rustdoc] Display unsafe attrs with edition 2024 unsafe() wrappers. 2025-07-23 00:00:01 +00:00
attributes-re-export.rs [rustdoc] Display unsafe attrs with edition 2024 unsafe() wrappers. 2025-07-23 00:00:01 +00:00
attributes.rs rustdoc: Fully escape link section and export name 2025-09-25 11:30:58 +02:00
bad-codeblock-syntax.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
blank-line-in-doc-block-47197.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
bold-tag-101743.rs Suppress = _ on associated constants in impls 2024-12-19 10:48:01 -08:00
bounds.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
cap-lints.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
cfg-bool.rs * Add test case for cfg(false) on module level 2025-06-03 10:35:28 +02:00
cfg-doctest.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
check-styled-link.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
check.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
codeblock-title.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
comment-in-doctest.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
const-fn-76501.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
const-fn-effects.rs Yeet effects feature 2024-11-03 18:59:31 +00:00
const-fn.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
const-intrinsic.rs remove support for rustc_intrinsic_must_be_overridden from the compiler 2025-02-24 07:53:59 +01:00
constructor-imports.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
crate-doc-hidden-109695.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-09-12 13:47:51 -07:00
crate-version-escape.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
crate-version-extra.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
crate-version.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
cross-crate-links.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
custom_code_classes.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
decl-line-wrapping-empty-arg-list.decl.html Update code format and tests 2024-06-04 13:49:39 +02:00
decl-line-wrapping-empty-arg-list.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
decl-trailing-whitespace.declaration.html Update code format and tests 2024-06-04 13:49:39 +02:00
decl-trailing-whitespace.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
deep-structures.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-theme.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
default-trait-method-link.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
default-trait-method.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
demo-allocator-54478.rs Remove the Arc rt::init allocation for thread info 2024-10-19 14:39:20 +01:00
deprecated-future-staged-api.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
deprecated-future.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
deprecated.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
deref-methods-19190-foreign-type.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
deref-methods-19190-inline.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
deref-methods-19190.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
deref-mut-35169-2.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
deref-mut-35169.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
description.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
description_default.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
display-hidden-items.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
doc-attr-comment-mix-42760.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
doc-attribute.rs Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
doc-auto-cfg-public-in-private.rs Add regression test for doc cfg applied on public items inside private items 2025-09-29 18:08:51 +02:00
doc-auto-cfg.rs Put back the doc_cfg code behind a nightly feature 2025-09-27 11:29:49 +02:00
doc-hidden-crate.rs Add regression test for #126796 2024-08-22 20:27:57 +02:00
doc-hidden-method-13698.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
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.rs Put back the doc_cfg code behind a nightly feature 2025-09-27 11:29:49 +02:00
doc_auto_cfg_reexports.rs Improve code comments and extend tests for doc_cfg feature 2025-09-27 11:29:50 +02:00
document-hidden-items-15347.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
double-hyphen-to-dash.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
double-quote-escape.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
duplicate-flags.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
dyn-compatibility.rs rustdoc: Rename "object safe" to "dyn compatible" 2024-10-16 15:53:49 +02:00
early-unindent.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
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 Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
empty-doc-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-mod-public.rs Tweak breadcrumbs list 2024-09-23 09:21:39 -07:00
empty-section.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
empty-tuple-struct-118180.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-09-12 13:47:51 -07:00
ensure-src-link.rs rustdoc: adjust spacing and typography in header 2024-10-23 19:15:23 -04:00
extremely_long_typename.extremely_long_typename.html fix rustdoc test directives that were accidentally ignored 2025-02-16 19:34:50 +00:00
extremely_long_typename.rs fix rustdoc test directives that were accidentally ignored 2025-02-16 19:34:50 +00:00
feature-gate-doc_auto_cfg.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
ffi.rs rustdoc: Properly clean fn params in all contexts 2025-04-17 08:55:53 +02:00
file-creation-111249.rs rustdoc: {Meta,Pointee,}Sized in non-minicore 2025-06-16 23:04:36 +00:00
files-creation-hidden.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
fn-bound.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
fn-pointer-arg-name.rs Omit argument names from function pointers that do not have argument names 2025-02-01 15:04:19 -08:00
fn-sidebar.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
fn-type.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
footnote-definition-without-blank-line-100638.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
footnote-ids.rs Add regression test for #131901 2024-11-13 16:56:40 +01:00
footnote-in-summary.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
footnote-reference-ids.rs rustdoc: Allow multiple references to a single footnote 2025-08-14 04:39:31 +00:00
footnote-reference-in-footnote-def.rs rustdoc: Allow multiple references to a single footnote 2025-08-14 04:39:31 +00:00
force-target-feature.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
force-unstable-if-unmarked-106421-not-internal.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-07-12 18:14:37 -07:00
force-unstable-if-unmarked-106421.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-07-12 18:14:37 -07:00
foreigntype.rs rustdoc: PointeeSized bounds with extern types 2025-06-16 23:04:36 +00:00
glob-shadowing.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
heading-levels-89309.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
heterogeneous-concat.rs add regression test for #85763 2024-11-10 13:38:41 -06:00
hidden-line.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
hidden-methods.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
hidden-trait-methods-with-document-hidden-items.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
hidden-trait-methods.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
hide-unstable-trait.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
higher-ranked-trait-bounds.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
highlight-invalid-rust-12834.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
ice-type-error-19181.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
impossible-default.rs Dont consider predicates that may hold as impossible in is_impossible_associated_item 2024-10-17 12:32:31 -04:00
include_str_cut.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
index-page.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
infinite-redirection-16265-1.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
infinite-redirection-16265-2.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
infinite-redirection.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
inherent-projections.rs Omit argument names from function pointers that do not have argument names 2025-02-01 15:04:19 -08:00
inline-default-methods.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
inline-rename-34473.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
internal.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
invalid$crate$name.rs Update test names to not have dots 2024-03-05 09:02:33 +00:00
item-desc-list-at-start.item-table.html Remove more CSS classes 2025-01-18 20:29:55 +01:00
item-desc-list-at-start.rs Update rustdoc tests 2025-01-17 22:36:49 +01:00
jump-to-def-assoc-items.rs Fix invalid jump to def link generated on derive attributes 2025-10-22 16:59:57 +02:00
jump-to-def-ice-assoc-types.rs Ignore impl associated types in jump to def feature 2025-08-10 15:49:22 +02:00
jump-to-def-ice.rs Fix panic if an item does not have a body 2025-08-10 12:00:08 +02:00
keyword.rs Remove rustc::existing_doc_keyword lint. 2024-12-17 13:56:10 +11:00
lifetime-name.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
line-breaks.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
link-on-path-with-generics.rs Add regression test for jump to def links on items with generics 2024-11-18 18:11:50 +01:00
link-title-escape.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
links-in-headings.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
logo-class-default.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
logo-class-rust.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
logo-class.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
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 Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
masked.rs rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
method-list.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
mixing-doc-comments-and-attrs.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02: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 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
multiple-foreigns-w-same-name-99734.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-07-12 18:14:37 -07:00
multiple-import-levels.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
multiple-mods-w-same-name-99734.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-07-12 18:14:37 -07:00
multiple-mods-w-same-name-doc-inline-83375.rs Remove unused item-row CSS class 2025-01-19 11:47:32 +01:00
multiple-mods-w-same-name-doc-inline-last-item-83375.rs Remove unused item-row CSS class 2025-01-19 11:47:32 +01:00
multiple-structs-w-same-name-99221.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-07-12 18:14:37 -07:00
mut-params.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
namespaces.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
nested-items-issue-111415.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
nested-modules.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02: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 rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
non_lifetime_binders.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
nul-error.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
playground-arg.rs Update rustdoc tests 2024-08-05 11:04:51 +02:00
playground-empty.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
playground-none.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
playground-syntax-error.rs Update rustdoc tests 2024-08-05 11:04:51 +02:00
playground.rs Correctly handle line comments in attributes and generate extern crates 2025-03-27 11:18:43 +01:00
process-termination.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
pub-method.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
pub-use-loop-107350.rs rustdoc: rename issue-\d+.rs tests to have meaningful names 2024-07-12 18:14:37 -07:00
pub-use-root-path-95873.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
range-arg-pattern.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
raw-ident-eliminate-r-hashtag.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
read-more-unneeded.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02: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-map-empty.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
redirect-map.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
redirect-rename.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
redirect.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
remove-duplicates.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
remove-url-from-headings.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
repr.rs rustdoc: hide #[repr(...)] if it isn't part of the public ABI 2025-09-25 11:49:27 +02:00
resolve-ice-124363.rs Fix the assertion crash from rustdoc document indent widths 2024-04-28 11:17:09 +08:00
return-type-notation.rs Add RTN support to rustdoc 2025-03-15 18:13:27 +00:00
safe-intrinsic.rs rustdoc: {Meta,Pointee,}Sized in non-minicore 2025-06-16 23:04:36 +00:00
sanitizer-option.rs -Zsanitize and -Zsanitizer-cfi-normalize-integers flags are now target modifiers with custom consistency check function 2025-08-21 16:08:00 +07:00
search-index-summaries.rs rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
search-index.rs rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
short-docblock-codeblock.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
short-docblock.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
short-line.md Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sized_trait.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02: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 Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
smart-punct.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
smoke.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
sort-53812.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
sort-modules-by-appearance.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
stability.rs rustc_allowed_through_unstable_modules: require deprecation message 2025-02-02 12:36:12 +01:00
staged-api-deprecated-unstable-32374.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
staged-api-feature-issue-27759.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
static-root-path.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
static.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02: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 Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
strip-priv-imports-pass-27104.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
struct-arg-pattern.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
struct-field.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
structfields.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
summary-codeblock-31899.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
summary-header-46377.rs Remove more CSS classes 2025-01-18 20:29:55 +01:00
summary-reference-link-30366.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
tab_title.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
table-in-docblock.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
target-feature.rs Fix tests/rustdoc/target-feature.rs test by adding missing #![feature(doc_cfg)] 2025-09-27 11:29:49 +02:00
task-lists.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
test-lists.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
test-parens.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
test-strikethrough.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
thread-local-src.rs rustdoc: adjust spacing and typography in header 2024-10-23 19:15:23 -04:00
titles.rs Tweak breadcrumbs list 2024-09-23 09:21:39 -07:00
toggle-item-contents.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
toggle-method.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
toggle-trait-fn.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
trait-aliases.rs Support inlined cross-crate re-exported trait aliases 2025-04-17 02:35:05 +02:00
trait-item-info.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
trait-self-link.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
trait-src-link.rs rustdoc: adjust spacing and typography in header 2024-10-23 19:15:23 -04:00
trait-visibility.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
traits-in-bodies.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
tuple-struct-fields-doc.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
tuple-struct-where-clause-34928.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02: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 Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
type-layout-flag-required.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
type-layout.rs Tweak attribute rendering depending on wether or not it is a type alias 2025-05-25 15:10:23 +02:00
typedef-inner-variants-lazy_type_alias.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
typedef-inner-variants.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
typedef.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
underscore-import-61592.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
unindent.md Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unindent.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
union-fields-html.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
union.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
unit-return.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
unsafe-binder.rs Unsafe binder support in rustdoc 2024-12-31 01:08:43 +00:00
use-attr.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
useless_lifetime_bound.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
variadic.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
viewpath-rename.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
viewpath-self.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
visibility.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
where-clause-order.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
where-sized.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
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 Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
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 rustdoc: use a newline instead of <br> to format code headers 2023-02-07 11:23:25 -07:00
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 Accept less invalid Rust in rustdoc 2023-10-31 13:58:03 +00:00
whitespace-after-where-clause.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
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 Accept less invalid Rust in rustdoc 2023-10-31 13:58:03 +00:00
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 rustdoc: trait bound formatting 2023-02-04 19:10:04 +01:00
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 Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00
wrapping.rs Update tests/rustdoc to new test syntax 2024-06-24 11:08:41 +02:00