[breaking-change] don't pub export ast::Ty_ variants
This commit is contained in:
parent
ec61e632c0
commit
05d4cefd63
17 changed files with 126 additions and 128 deletions
|
@ -212,10 +212,10 @@ pub fn expand_build_diagnostic_array<'cx>(ecx: &'cx mut ExtCtxt,
|
|||
|
||||
let ty = ecx.ty(
|
||||
span,
|
||||
ast::TyFixedLengthVec(
|
||||
ast::TyKind::FixedLengthVec(
|
||||
ecx.ty(
|
||||
span,
|
||||
ast::TyTup(vec![ty_str.clone(), ty_str])
|
||||
ast::TyKind::Tup(vec![ty_str.clone(), ty_str])
|
||||
),
|
||||
ecx.expr_usize(span, count),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue