summary refs log tree commit diff
path: root/tests/rustdoc/auxiliary
AgeCommit message (Collapse)AuthorLines
2023-08-26rustdoc: handle typedef inner type when doing cross-crate inliningUrgau-0/+5
2023-07-27Auto merge of #113374 - GuillaumeGomez:private-to-public-path, ↵bors-0/+1
r=notriddle,fmease [rustdoc] If re-export is private, get the next item until a public one is found or expose the private item directly Fixes #81141. If we have: ```rust use Private as Something; pub fn foo() -> Something {} ``` Then `Something` will be replaced by `Private`. r? `@notriddle`
2023-07-26Fix regression for private in publicGuillaume Gomez-0/+1
2023-07-24Add regression test for #113982Guillaume Gomez-0/+3
2023-06-21Add rustdoc tests for `lazy_type_alias`Guillaume Gomez-0/+15
2023-04-12Split out a separate feature gate for impl trait in associated typesOli Scherer-1/+1
2023-03-30Update tests for rustc_doc_primitiveGuillaume Gomez-2/+4
2023-02-04rustdoc: trait bound formattingRoland Strasser-0/+12
rustdoc: fix item-spacer rustdoc: use proper comment style rustdoc: change formatting where clauses for traits rustdoc: remove semicolon from provided methods update provided methods formatting
2023-01-30rustdoc: remove unnecessary wrapper div.item-decl from HTMLMichael Howell-1/+1
2023-01-14rustdoc: remove redundant item kind class from `.item-decl > pre`Michael Howell-1/+1
This class originated in the very first commit of `rustdoc_ng`, and was used to add a color border around the item decl based on its kind. https://github.com/rust-lang/rust/blob/4fd061c426902b0904c65e64a3780b21f9ab3afb/src/rustdoc_ng/html/static/main.css#L102-L106 The item decl no longer has a border, and there aren't any kind-specific styles in modern rustdoc's rendering of this UI item. Most of this commit is updating test cases so that they use `item-decl` to find the `<pre>` tag instead of relying on the fact that the class name had `rust {kind}` in it while other `<pre>` tags only had class `rust`.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+973