diff options
| author | Oliver 'ker' Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-09 11:36:51 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-11 12:34:48 +0100 |
| commit | 019614f03d106324ab50a37746b556c41e66c099 (patch) | |
| tree | e95206fa5d2ee8c83a9915f03bcefc32081fc7bb /src/libsyntax/diagnostics/plugin.rs | |
| parent | 0d6ddd190355650a6d851c3aae12cf79339665af (diff) | |
| download | rust-019614f03d106324ab50a37746b556c41e66c099.tar.gz rust-019614f03d106324ab50a37746b556c41e66c099.zip | |
[breaking-change] don't glob export ast::Item_ variants
Diffstat (limited to 'src/libsyntax/diagnostics/plugin.rs')
| -rw-r--r-- | src/libsyntax/diagnostics/plugin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/diagnostics/plugin.rs b/src/libsyntax/diagnostics/plugin.rs index 4e6fde10ade..e8a4bb59bdc 100644 --- a/src/libsyntax/diagnostics/plugin.rs +++ b/src/libsyntax/diagnostics/plugin.rs @@ -226,7 +226,7 @@ pub fn expand_build_diagnostic_array<'cx>(ecx: &'cx mut ExtCtxt, ident: name.clone(), attrs: Vec::new(), id: ast::DUMMY_NODE_ID, - node: ast::ItemConst( + node: ast::ItemKind::Const( ty, expr, ), |
