mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
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).