1
Fork 0

change some statics to constants

This commit is contained in:
Oliver 'ker' Schneider 2015-06-07 19:50:13 +02:00
parent 2c8d75d655
commit ec078a033b
13 changed files with 18 additions and 22 deletions

View file

@ -200,9 +200,8 @@ pub fn expand_build_diagnostic_array<'cx>(ecx: &'cx mut ExtCtxt,
ident: name.clone(),
attrs: Vec::new(),
id: ast::DUMMY_NODE_ID,
node: ast::ItemStatic(
node: ast::ItemConst(
ty,
ast::MutImmutable,
expr,
),
vis: ast::Public,