about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-07 17:35:02 +0000
committerbors <bors@rust-lang.org>2020-12-07 17:35:02 +0000
commitafa995b2dd1e194845f2082707e6045d539230a5 (patch)
treee84abd3b566f58a53ee9ad0c88304d4b90241da7 /compiler/rustc_mir/src/transform/coverage/debug.rs
parentb5ff9c3d052c2c3d5f26076362f38643f6e48680 (diff)
parentc254a15906d6ad64821659b50c4265c96b113159 (diff)
downloadrust-afa995b2dd1e194845f2082707e6045d539230a5.tar.gz
rust-afa995b2dd1e194845f2082707e6045d539230a5.zip
Auto merge of #79751 - aDotInTheVoid:json-true-idx, r=jyn514
Rustdoc: Use correct def_id for doctree::Import

The default overwrites the crate root, which crashes rustdoc-json.

While investigating this, It turns out somehow, some items are being documented twice. I'm not sure how this is happening but for now, we just make sure they were the same if they have the same id.

[Zulip descussion](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/Panic.20in.20json-format/near/218899256)

[Bless script](https://gist.github.com/aDotInTheVoid/2dfce0d241338def3f033f941b7c183d) (Once this is more pollished I'll submit it)

r? `@jyn514`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions