[breaking-change] don't glob export ast::PathListItem_ variants

This commit is contained in:
Oliver 'ker' Schneider
2016-02-09 18:09:18 +01:00
committed by Oliver Schneider
parent 8b3856b1bc
commit 2b816b0d6a
7 changed files with 43 additions and 39 deletions

View File

@@ -2918,7 +2918,7 @@ impl<'a> State<'a> {
}
try!(self.commasep(Inconsistent, &idents[..], |s, w| {
match w.node {
ast::PathListIdent { name, rename, .. } => {
ast::PathListItemKind::Ident { name, rename, .. } => {
try!(s.print_ident(name));
if let Some(ident) = rename {
try!(space(&mut s.s));
@@ -2927,7 +2927,7 @@ impl<'a> State<'a> {
}
Ok(())
},
ast::PathListMod { rename, .. } => {
ast::PathListItemKind::Mod { rename, .. } => {
try!(word(&mut s.s, "self"));
if let Some(ident) = rename {
try!(space(&mut s.s));