Files
rust/tests/rustdoc-html/notable-trait
Noah Lev afaa98372c rustdoc: Keep external impls of notable traits
The code predating this PR was actually incorrect since it did not keep
these impls. However, removing the redundant deref-following logic had
the side effect of breaking a GUI test for the notable traits tooltip.
It seems like previously an unrelated type with a deref impl to
`Vec<u8>` ended up causing the impl of `Write` for it to be kept.

In fact, this change required some snapshot tests to be updated because
it fixed a latent bug where the notable trait tooltip would not appear
for many external traits (if they didn't happen to get pulled in like
`Write for Vec<u8>` did).
2026-07-21 18:16:01 +00:00
..