aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
authorBenjamin Coenen <[email protected]>2020-04-09 17:32:02 +0100
committerBenjamin Coenen <[email protected]>2020-04-09 17:32:02 +0100
commitfc70cf9458c5234decafdd52b9aced790ac43d7a (patch)
tree4e27e34d8fff2746731c4a1bce938c784b804661 /crates/ra_syntax
parent85956932872481cf4813c5e7794d981a9edb4623 (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.rs1
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 {
5216pub struct RecordField { 5216pub struct RecordField {
5217 pub(crate) syntax: SyntaxNode, 5217 pub(crate) syntax: SyntaxNode,
5218} 5218}
5219impl ast::AttrsOwner for RecordField {}
5219impl std::fmt::Display for RecordField { 5220impl 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)