resolve: Preserve reexport chains in ModChild
ren
This may be potentially useful for - avoiding uses of `hir::ItemKind::Use` - preserving documentation comments on all reexports - preserving and checking stability/deprecation info on reexports - all kinds of diagnostics
This commit is contained in:
parent
c49c4fba11
commit
d11b9165ee
7 changed files with 50 additions and 5 deletions
|
@ -991,7 +991,7 @@ impl<'a, 'tcx> CrateMetadataRef<'a> {
|
|||
_ => false,
|
||||
};
|
||||
|
||||
ModChild { ident, res, vis, span, macro_rules }
|
||||
ModChild { ident, res, vis, span, macro_rules, reexport_chain: Default::default() }
|
||||
}
|
||||
|
||||
/// Iterates over all named children of the given module,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue