RustDoc: Fix bounds linking trait.Foo instead of traitalias.Foo Fixes #84782 The code was assuming `Trait` when adding bounds to the cache, so add a check on the DefId to see what its kind really is. r? `@jyn514` Before:  After:  |
||
|---|---|---|
| .. | ||
| cache.rs | ||
| item_type.rs | ||
| mod.rs | ||
| renderer.rs | ||