Skip to content

Commit 8ae2687

Browse files
committed
import items before formatting
1 parent 43477d6 commit 8ae2687

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/librustdoc/html/render/print_item.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ fn item_module(cx: &Context<'_>, item: &clean::Item, items: &[clean::Item]) -> i
409409
}
410410
None => (String::new(), item.is_deprecated(tcx)),
411411
};
412+
let visibility_and_hidden = visibility_and_hidden(myitem);
412413
let id = match import.kind {
413414
clean::ImportKind::Simple(s) => {
414415
format!(" id=\"{}\"", cx.derive_id(format!("reexport.{s}")))

0 commit comments

Comments
 (0)