rustc: desugar use a::{b,c};
into use a::b; use a::c;
in HIR.
This commit is contained in:
parent
6ebc6d8154
commit
bc096549e8
29 changed files with 228 additions and 395 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue