4 Commits
Author SHA1 Message Date
dualfroz 847f1f71ab rustdoc: fix tooltip position of code examples inside warning blocks
The tooltip of an `ignore`/`compile_fail`/`should_panic`/edition example
is placed 25px to the left of the code block. Inside a `.warning` block
that lands on top of the warning's own left border.
2026-09-29 12:10:57 +02:00
upstream 5c0cb09516 Upstream rust-lang/rust state of the touched files before 250d8d8a77 2026-09-29 12:10:57 +02:00
dualfroz 20c0f26b00 rustdoc: don't highlight empty elements when they are the URL target
An empty anchor like `<a id="foo"></a>` used as a jump target in docs got
the target border, which shows up as a stray orange bar.
2026-09-29 12:01:33 +02:00
upstream b810605da4 Upstream rust-lang/rust state of the touched files before aa0e24fb8e 2026-09-29 12:01:33 +02:00