diff options
author | Benjamin Coenen <[email protected]> | 2020-04-09 17:32:02 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-04-09 17:32:02 +0100 |
commit | fc70cf9458c5234decafdd52b9aced790ac43d7a (patch) | |
tree | 4e27e34d8fff2746731c4a1bce938c784b804661 /crates/ra_syntax | |
parent | 85956932872481cf4813c5e7794d981a9edb4623 (diff) |
feat: add support for feature attributes in struct literal
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 385fddc89..d2b055b0a 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -5216,6 +5216,7 @@ impl RecordFieldList { | |||
5216 | pub struct RecordField { | 5216 | pub struct RecordField { |
5217 | pub(crate) syntax: SyntaxNode, | 5217 | pub(crate) syntax: SyntaxNode, |
5218 | } | 5218 | } |
5219 | impl ast::AttrsOwner for RecordField {} | ||
5219 | impl std::fmt::Display for RecordField { | 5220 | impl std::fmt::Display for RecordField { |
5220 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | 5221 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { |
5221 | std::fmt::Display::fmt(self.syntax(), f) | 5222 | std::fmt::Display::fmt(self.syntax(), f) |