Minimize amount of fake DefId
s used in rustdoc
This commit is contained in:
parent
c6dd87a6b4
commit
67d8d18b23
12 changed files with 55 additions and 90 deletions
|
@ -465,8 +465,6 @@ pub(super) fn write_shared(
|
|||
// Update the list of all implementors for traits
|
||||
let dst = cx.dst.join("implementors");
|
||||
for (&did, imps) in &cx.cache.implementors {
|
||||
let did = did.expect_real();
|
||||
|
||||
// Private modules can leak through to this phase of rustdoc, which
|
||||
// could contain implementations for otherwise private types. In some
|
||||
// rare cases we could find an implementation for an item which wasn't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue