diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-08 16:53:21 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-11 12:34:48 +0100 |
| commit | 05d4cefd630cd9ae104555e69ceb3b1566298a6a (patch) | |
| tree | aed7eb5d422c025726b39bbb9b9bc48a810c5f56 /src/libsyntax/diagnostics/plugin.rs | |
| parent | ec61e632c0a00ccc2ca0494d5d3c8a0848c574f2 (diff) | |
| download | rust-05d4cefd630cd9ae104555e69ceb3b1566298a6a.tar.gz rust-05d4cefd630cd9ae104555e69ceb3b1566298a6a.zip | |
[breaking-change] don't pub export ast::Ty_ variants
Diffstat (limited to 'src/libsyntax/diagnostics/plugin.rs')
| -rw-r--r-- | src/libsyntax/diagnostics/plugin.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/diagnostics/plugin.rs b/src/libsyntax/diagnostics/plugin.rs index 6e389e83591..4e6fde10ade 100644 --- a/src/libsyntax/diagnostics/plugin.rs +++ b/src/libsyntax/diagnostics/plugin.rs @@ -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), ), |
