box a bunch of large types
This commit is contained in:
parent
ec74653652
commit
4bebdd7104
16 changed files with 83 additions and 79 deletions
|
@ -627,7 +627,7 @@ impl<'a> ExtCtxt<'a> {
|
|||
span,
|
||||
name,
|
||||
AttrVec::new(),
|
||||
ast::ItemKind::Static(ast::Static { ty, mutability, expr: Some(expr) }),
|
||||
ast::ItemKind::Static(ast::Static { ty, mutability, expr: Some(expr) }.into()),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -643,7 +643,7 @@ impl<'a> ExtCtxt<'a> {
|
|||
span,
|
||||
name,
|
||||
AttrVec::new(),
|
||||
ast::ItemKind::Const(ast::ConstItem { defaultness, ty, expr: Some(expr) }),
|
||||
ast::ItemKind::Const(ast::ConstItem { defaultness, ty, expr: Some(expr) }.into()),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue