summaryrefslogtreecommitdiff
path: root/tests/rustdoc/inline_cross
Commit message (Collapse)AuthorAgeFilesLines
* Extend foreign inlined item with `#[repr()]` testGuillaume Gomez2023-04-292-5/+39
|
* Add regression test for #110698Guillaume Gomez2023-04-272-0/+17
|
* Rollup merge of #107783 - notriddle:notriddle/item-table-ul, r=GuillaumeGomezDylan DPC2023-02-191-2/+2
|\ | | | | | | | | | | rustdoc: simplify DOM for `.item-table` This switches from using `<div>` to the more semantic `<ul>`, and using class names that rhyme with the classes the search results table uses.
| * rustdoc: simplify DOM for `.item-table`Michael Howell2023-02-071-2/+2
| | | | | | | | | | | | This switches from using `<div>` to the more semantic `<ul>`, and using class names that rhyme with the classes the search results table uses.
* | rustdoc: use a newline instead of `<br>` to format code headersMichael Howell2023-02-071-1/+1
|/ | | | | | Since these elements now use `white-space: pre-wrap` since 784665d4ce59c5239791f1f96fa2137e47ca1817, it's fine to use newlines for formatting, which is smaller and a bit less complicated.
* rustdoc: stop making unstable items transparentMichael Howell2023-01-311-2/+2
| | | | Fixes #93393
* rustdoc: remove unnecessary wrapper div.item-decl from HTMLMichael Howell2023-01-303-24/+24
|
* rustdoc: remove unused class `has-srclink`Michael Howell2023-01-283-8/+8
| | | | | Stopped being used in CSS with 73d0f7c7b68784f1db0a1f53855c20d118a7e8b0
* rustdoc: remove mostly-unused CSS classes import/module-itemMichael Howell2023-01-261-2/+2
|
* Auto merge of #106952 - petrochenkov:docglob, r=notriddle,GuillaumeGomezbors2023-01-182-0/+7
|\ | | | | | | | | | | | | | | rustdoc: Fix glob import inlining Filter away names that are not actually imported by the glob, e.g. because they are shadowed by something else. Fixes the issue found in https://github.com/rust-lang/rust/pull/94857#issuecomment-1382912356.
| * rustdoc: Fix glob import inliningVadim Petrochenkov2023-01-172-0/+7
| | | | | | | | Filter away names that are not actually imported by the glob, e.g. because they are shadowed by something else
* | rustdoc: remove redundant item kind class from `.item-decl > pre`Michael Howell2023-01-142-18/+18
|/ | | | | | | | | | | | | | 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`.
* Move /src/test to /testsAlbert Larsan2023-01-1150-0/+934