Files
rust/tests/rustdoc-html
bors 701a6513a4 Auto merge of #159854 - camelid:selfty-head, r=notriddle,GuillaumeGomez
rustdoc: Only analyze head of self type when deciding impl inlining



We only care about whether the self type is a generic or an item (inlined) in
the current crate, so we don't actually need to compute the param_env, which is
expensive when done to every external impl.  This PR avoids computing the
param_env until we actually decide to inline the impl.  Moreover, it adds
specialized cleaning logic for types that stops after the "head" (the top-level
structure) is constructed, which is enough for the self type-based impl
inlining analysis.
2026-07-28 22:40:33 +00:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…