Skip to content

Commit 29efeb7

Browse files
committed
partially revert rust-lang#73771
1 parent 1f6a155 commit 29efeb7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/librustdoc/clean/inline.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -341,18 +341,6 @@ pub fn build_impl(
341341
return;
342342
}
343343
}
344-
345-
// Skip foreign unstable traits from lists of trait implementations and
346-
// such. This helps prevent dependencies of the standard library, for
347-
// example, from getting documented as "traits `u32` implements" which
348-
// isn't really too helpful.
349-
if let Some(trait_did) = associated_trait {
350-
if let Some(stab) = cx.tcx.lookup_stability(trait_did.def_id) {
351-
if stab.level.is_unstable() {
352-
return;
353-
}
354-
}
355-
}
356344
}
357345

358346
let for_ = if let Some(did) = did.as_local() {

0 commit comments

Comments
 (0)