change some statics to constants
This commit is contained in:
parent
2c8d75d655
commit
ec078a033b
13 changed files with 18 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue