1
Fork 0

rustc: desugar use a::{b,c}; into use a::b; use a::c; in HIR.

This commit is contained in:
Eduard-Mihai Burtescu 2016-11-24 06:11:31 +02:00
parent 6ebc6d8154
commit bc096549e8
29 changed files with 228 additions and 395 deletions

View file

@ -254,10 +254,12 @@ pub struct ExternCrate {
}
pub struct Import {
pub name: Name,
pub id: NodeId,
pub vis: hir::Visibility,
pub attrs: hir::HirVec<ast::Attribute>,
pub node: hir::ViewPath_,
pub path: hir::Path,
pub glob: bool,
pub whence: Span,
}