diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-08-17 23:55:41 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-09-30 22:36:25 +0300 |
| commit | 535d4743a4bc4807446cefbc2413e02d53aa0a85 (patch) | |
| tree | d222a5c91f712d37cf3efbdfccd47e2d1e8f7b95 /src/libsyntax/parse | |
| parent | 22bc9e1d9ca49ee4f5cd953088ab09c238a6dd26 (diff) | |
| download | rust-535d4743a4bc4807446cefbc2413e02d53aa0a85.tar.gz rust-535d4743a4bc4807446cefbc2413e02d53aa0a85.zip | |
syntax: Split `ast::Attribute` into container and inner parts
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/attr.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/attr.rs b/src/libsyntax/parse/attr.rs index 44688bd36b5..707f903916c 100644 --- a/src/libsyntax/parse/attr.rs +++ b/src/libsyntax/parse/attr.rs @@ -151,10 +151,9 @@ impl<'a> Parser<'a> { }; Ok(ast::Attribute { + item: ast::AttrItem { path, tokens }, id: attr::mk_attr_id(), style, - path, - tokens, is_sugared_doc: false, span, }) |
