This prevents structures like RcBox from showing up in the documentation
// FIXME: this doesn't handle reexports inside the module itself.
// Should they be handled?
// FIXME: this doesn't handle reexports inside the module itself.
// Should they be handled?
- csearch::each_child_of_item(&tcx.sess.cstore, did, |def, _, _| {
+ csearch::each_child_of_item(&tcx.sess.cstore, did, |def, _, vis| {
+ if vis != ast::Public { return }
match def {
decoder::DlDef(def) => {
match try_inline_def(cx, tcx, def) {
match def {
decoder::DlDef(def) => {
match try_inline_def(cx, tcx, def) {