We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa7493 commit 804a1a6Copy full SHA for 804a1a6
src/librustdoc/clean/inline.rs
@@ -520,6 +520,10 @@ fn separate_supertrait_bounds(mut g: clean::Generics)
520
}
521
522
pub fn record_extern_trait(cx: &DocContext, did: DefId) {
523
+ if did.is_local() {
524
+ return;
525
+ }
526
+
527
if cx.external_traits.borrow().contains_key(&did) ||
528
cx.active_extern_traits.borrow().contains(&did)
529
{
0 commit comments