about summary refs log tree commit diff
path: root/tests/rustdoc/inline_cross/auxiliary
AgeCommit message (Collapse)AuthorLines
2025-09-25rustdoc: hide `#[repr(...)]` if it isn't part of the public ABILeón Orell Valerian Liehr-42/+0
2025-09-25rustdoc: Fully escape link section and export nameLeón Orell Valerian Liehr-0/+9
Escape "special characters" (e.g., double quotes `"` and line breaks `\n`). Escape HTML. Lastly, add regression tests and clean up existing tests.
2025-06-26Change const trait bound syntax from ~const to [const]Oli Scherer-1/+1
2025-04-17rustdoc: Properly clean fn params in all contextsLeón Orell Valerian Liehr-0/+0
2024-12-13Stabilize async closuresMichael Goulet-2/+0
2024-11-06Clean middle generics using paren sugar if trait has rustc_paren_sugarMichael Goulet-0/+5
2024-11-03Yeet effects featureMichael Goulet-2/+1
2024-09-09Ban non-array SIMDScott McMurray-1/+1
2024-06-30Migrate tests to use `-Znext-solver`Deadbeef-0/+2
2024-06-24Update `tests/rustdoc` to new test syntaxGuillaume Gomez-2/+2
2024-05-21Move tests into appropriate subdirectoriesMichael Howell-0/+34
2024-04-15rustdoc: move tests into applicable subdirectoriesMichael Howell-0/+16
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-9/+9
2024-02-17Fix missing trait impls for type in rustc docsShoyu Vanilla-0/+11
2024-02-15rustdoc: cross-crate re-exports: correctly render late-bound params in ↵León Orell Valerian Liehr-0/+17
source order even if early-bound params are present
2024-01-14Rollup merge of #119561 - notriddle:master, r=fmeaseGuillaume Gomez-0/+7
rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 5) Follow up * https://github.com/rust-lang/rust/pull/116214 * https://github.com/rust-lang/rust/pull/116432 * https://github.com/rust-lang/rust/pull/116824 * https://github.com/rust-lang/rust/pull/118105
2024-01-09Update testsLeón Orell Valerian Liehr-3/+9
2024-01-03rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 5)Michael Howell-0/+7
2023-11-05rustdoc: properly elide cross-crate host effect argsLeón Orell Valerian Liehr-5/+16
2023-10-30rustdoc: elide cross-crate default generic argumentsLeón Orell Valerian Liehr-0/+45
2023-10-16Rename `issue-\d+.rs` tests to have meaningful namesMichael Howell-0/+10
2023-10-14Rollup merge of #115439 - fmease:rustdoc-priv-repr-transparent-heuristic, ↵Matthias Krüger-1/+23
r=GuillaumeGomez rustdoc: hide `#[repr(transparent)]` if it isn't part of the public ABI Fixes #90435. This hides `#[repr(transparent)]` when the non-1-ZST field the struct is "transparent" over is private. CC `@RalfJung` Tentatively nominating it for the release notes, feel free to remove the nomination. `@rustbot` label needs-fcp relnotes A-rustdoc-ui
2023-10-13Stabilize AFIT and RPITITMichael Goulet-3/+0
2023-10-12Test cross crateOli Scherer-0/+5
2023-10-04Rename issue-\d+.rs tests to have meaningful namesMichael Howell-0/+27
2023-10-03rustdoc: add support for cross-crate higher-ranked typesLeón Orell Valerian Liehr-0/+10
2023-10-03rustdoc: fix & clean up handling of cross-crate higher-ranked lifetimesLeón Orell Valerian Liehr-1/+2
2023-09-25rustdoc: correctly render ret ty of cross-crate async fnsLeón Orell Valerian Liehr-6/+18
2023-09-18rustdoc: hide repr(transparent) if it isn't part of the public ABILeón Orell Valerian Liehr-1/+23
2023-09-01rustdoc: correctly deal with self ty params when eliding default object ↵León Orell Valerian Liehr-0/+19
lifetimes
2023-07-28Add rustdoc tests for generic const itemsLeón Orell Valerian Liehr-0/+22
2023-07-27Rollup merge of #114059 - fmease:rustdoc-fix-x-crate-impl-sized, ↵Guillaume Gomez-0/+21
r=GuillaumeGomez rustdoc: fix cross-crate `impl Sized` & `impl ?Sized` Previously, cross-crate impl-Trait (APIT, RPIT, etc.) that only consists of a single `Sized` bound (modulo outlives-bounds) and ones that are `?Sized` were incorrectly rendered. To give you a taste (before vs. after): ```diff - fn sized(x: impl ) -> impl + fn sized(x: impl Sized) -> impl Sized - fn sized_outlives<'a>(x: impl 'a) -> impl 'a + fn sized_outlives<'a>(x: impl Sized + 'a) -> impl Sized + 'a - fn maybe_sized(x: &impl ) -> &impl + fn maybe_sized(x: &impl ?Sized) -> &impl ?Sized - fn debug_maybe_sized(x: &impl Debug) -> &impl ?Sized + Debug + fn debug_maybe_sized(x: &(impl Debug + ?Sized)) -> &(impl Debug + ?Sized) ``` Moreover, we now surround impl-Trait that has multiple bounds with parentheses if they're the pointee of a reference or raw pointer type. This affects both local and cross-crate docs. The current output isn't correct (rustc would emit the error *ambiguous `+` in a type* if we fed the rendered code back to it). --- Best reviewed commit by commit :) `@rustbot` label A-cross-crate-reexports
2023-07-26rustdoc: fix cross-crate impl-SizedLeón Orell Valerian Liehr-0/+21
2023-07-22rustdoc: handle cross-crate RPITITs correctlyLeón Orell Valerian Liehr-0/+35
2023-06-26Rollup merge of #112920 - fmease:rustdoc-fix-112904, r=GuillaumeGomezTakayuki Maeda-0/+17
rustdoc: render generic params & where-clauses of cross-crate assoc tys in impls We used to only ever render generic parameters & where-clauses of cross-crate associated types when the item was located inside of a trait and we used to just drop them when it was inside of an impl block (trait or inherent). Fixes #112904. `@rustbot` label A-cross-crate-reexports
2023-06-25rustdoc: handle assoc const equalities in cross-crate impl-Trait-in-arg-posLeón Orell Valerian Liehr-0/+7
2023-06-24rustdoc: render gen params & where-clauses of cross-crate assoc tys in impl ↵León Orell Valerian Liehr-0/+17
blocks
2023-06-07rustdoc: re-elide cross-crate default trait object lifetime boundsLeón Orell Valerian Liehr-5/+55
2023-04-29Extend foreign inlined item with `#[repr()]` testGuillaume Gomez-2/+20
2023-04-27Add regression test for #110698Guillaume Gomez-0/+4
2023-01-17rustdoc: Fix glob import inliningVadim Petrochenkov-0/+2
Filter away names that are not actually imported by the glob, e.g. because they are shadowed by something else
2023-01-11Move /src/test to /testsAlbert Larsan-0/+387