[breaking-change] don't glob export ast::Visibility variants
This commit is contained in:
parent
dfe35da6b8
commit
d844bfb196
12 changed files with 45 additions and 46 deletions
|
@ -962,7 +962,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
|
|||
attrs: attrs,
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
node: node,
|
||||
vis: ast::Inherited,
|
||||
vis: ast::Visibility::Inherited,
|
||||
span: span
|
||||
})
|
||||
}
|
||||
|
@ -1005,7 +1005,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
|
|||
let fields: Vec<_> = tys.into_iter().map(|ty| {
|
||||
Spanned { span: ty.span, node: ast::StructField_ {
|
||||
ty: ty,
|
||||
kind: ast::UnnamedField(ast::Inherited),
|
||||
kind: ast::UnnamedField(ast::Visibility::Inherited),
|
||||
attrs: Vec::new(),
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue