Add nested
bool to DefKind::Static
.
Will be used in the next commit
This commit is contained in:
parent
9816915954
commit
0b4cbee660
10 changed files with 19 additions and 13 deletions
|
@ -78,6 +78,8 @@ pub enum DefKind {
|
|||
Static {
|
||||
/// Whether it's a `static mut` or just a `static`.
|
||||
mt: ast::Mutability,
|
||||
/// Whether it's an anonymous static generated for nested allocations.
|
||||
nested: bool,
|
||||
},
|
||||
/// Refers to the struct or enum variant's constructor.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue