]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #93766 - petrochenkov:doclinkregr, r=camelid,GuillaumeGomez
authorbors <bors@rust-lang.org>
Fri, 18 Feb 2022 10:26:45 +0000 (10:26 +0000)
committerbors <bors@rust-lang.org>
Fri, 18 Feb 2022 10:26:45 +0000 (10:26 +0000)
rustdoc: Collect traits in scope for lang items

Inherent impls on primitive types are not included in the list of all inherent impls in the crate (`inherent_impls_in_crate_untracked`), they are taken from the list of lang items instead, but such impls can also be inlined by rustdoc, e.g. if something derefs to a primitive type.

r? `@camelid`
Fixes https://github.com/rust-lang/rust/issues/93698


Trivial merge