rustc: separate bodies for static/(associated)const and embedded constants.
This commit is contained in:
parent
864928297d
commit
e64f64a2fc
72 changed files with 637 additions and 655 deletions
|
@ -174,7 +174,7 @@ pub struct Typedef {
|
|||
pub struct Static {
|
||||
pub type_: P<hir::Ty>,
|
||||
pub mutability: hir::Mutability,
|
||||
pub expr: P<hir::Expr>,
|
||||
pub expr: hir::BodyId,
|
||||
pub name: Name,
|
||||
pub attrs: hir::HirVec<ast::Attribute>,
|
||||
pub vis: hir::Visibility,
|
||||
|
@ -186,7 +186,7 @@ pub struct Static {
|
|||
|
||||
pub struct Constant {
|
||||
pub type_: P<hir::Ty>,
|
||||
pub expr: P<hir::Expr>,
|
||||
pub expr: hir::BodyId,
|
||||
pub name: Name,
|
||||
pub attrs: hir::HirVec<ast::Attribute>,
|
||||
pub vis: hir::Visibility,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue