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.
AliasedNonLocalStripper
1 parent b507c75 commit 900b2e7Copy full SHA for 900b2e7
1 file changed
src/librustdoc/passes/strip_aliased_non_local.rs
@@ -47,9 +47,8 @@ impl DocFolder for NonLocalStripper<'_> {
47
// FIXME(#125009): Not-local should probably consider same Cargo workspace
48
if let Some(def_id) = i.def_id()
49
&& !def_id.is_local()
50
- && (i.is_doc_hidden()
51
- // Default to *not* stripping items with inherited visibility.
52
- || i.visibility(self.tcx).is_some_and(|viz| viz != Visibility::Public))
+ // Default to *not* stripping items with inherited visibility.
+ && i.visibility(self.tcx).is_some_and(|viz| viz != Visibility::Public)
53
{
54
return Some(strip_item(i));
55
}
0 commit comments