mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
[rustdoc] Correctly handle `dyn` trait methods linking for jump to def feature Part of the missing pieces for https://github.com/rust-lang/rust/pull/162808 to work. The issue was that in case we had the method of a dyn trait, we tried to use the dyn trait as is and couldn't generate a correct href to its `DefId`. If we get the trait in the `dyn`, it works just as expected. r? @Urgau