diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-03-25 11:46:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 11:46:24 +0000 |
commit | 5a15694ee22500458a17f064b42fc7b8051984db (patch) | |
tree | 66c80ed740780967291dd45cc94709c33f643ddf /gcc/rust/parse/rust-parse.h | |
parent | a7e723469220b6765463d27b3e19ffd27f1baadd (diff) | |
parent | 7fa6e72b1a1a18a8b511a796514bc32591b26e2f (diff) | |
download | gcc-5a15694ee22500458a17f064b42fc7b8051984db.zip gcc-5a15694ee22500458a17f064b42fc7b8051984db.tar.gz gcc-5a15694ee22500458a17f064b42fc7b8051984db.tar.bz2 |
Merge #1063
1063: Handle :meta fragments properly r=CohenArthur a=CohenArthur
This expands :meta fragments properly and allows us to strip assignment expressions
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
-rw-r--r-- | gcc/rust/parse/rust-parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/parse/rust-parse.h b/gcc/rust/parse/rust-parse.h index 5653293..945bce7 100644 --- a/gcc/rust/parse/rust-parse.h +++ b/gcc/rust/parse/rust-parse.h @@ -143,6 +143,7 @@ public: AST::Visibility parse_visibility (); std::unique_ptr<AST::IdentifierPattern> parse_identifier_pattern (); std::unique_ptr<AST::TokenTree> parse_token_tree (); + AST::Attribute parse_attribute_body (); private: void skip_after_semicolon (); @@ -162,7 +163,6 @@ private: AST::Attribute parse_inner_attribute (); AST::AttrVec parse_outer_attributes (); AST::Attribute parse_outer_attribute (); - AST::Attribute parse_attribute_body (); std::unique_ptr<AST::AttrInput> parse_attr_input (); AST::Attribute parse_doc_comment (); |