Vadim Petrochenkov
7a30bb1676
Address review comments
2020-03-09 13:07:21 +03:00
Vadim Petrochenkov
9be233cbfe
Use Token::uninterpolate
in couple more places matching on (Nt)Ident
2020-03-09 12:42:41 +03:00
Vadim Petrochenkov
43b27df5b2
rustc_ast: Introduce Token::uninterpolate
2020-03-09 12:42:41 +03:00
Vadim Petrochenkov
f4a03c44d5
rustc_ast: Introduce Token::uninterpolated_span
2020-03-09 12:42:41 +03:00
Matthias Krüger
136ad015b6
fix various typos
2020-03-06 15:19:31 +01:00
bors
4a1b69d53a
Auto merge of #69586 - petrochenkov:unmerge, r=Centril
...
ast: Unmerge structures for associated items and foreign items
Follow-up to https://github.com/rust-lang/rust/pull/69194 .
r? @Centril
2020-03-06 02:22:49 +00:00
bors
4ad6248825
Auto merge of #69506 - Centril:stmt-semi-none, r=petrochenkov
...
encode `;` stmt without expr as `StmtKind::Empty`
Instead of encoding `;` statements without a an expression as a tuple in AST, encode it as `ast::StmtKind::Empty`.
r? @petrochenkov
2020-03-03 19:57:07 +00:00
LeSeulArtichaut
6bfa48a0ae
Rename syntax
in librustc_ast/README.md
2020-03-01 23:56:03 +01:00
Mazdak Farrokhzad
176fe3f8ac
encode ;
stmt w/o expr as StmtKind::Empty
2020-03-01 23:02:17 +01:00
Vadim Petrochenkov
9c885d40fb
ast: Implement TryFrom<ItemKind>
for associated and foreign items
2020-03-01 13:47:48 +03:00
Vadim Petrochenkov
857e34c7a3
ast: Unmerge structures for associated items and foreign items
2020-03-01 13:47:48 +03:00
Vadim Petrochenkov
6054a30370
Make it build again
2020-02-29 20:47:10 +03:00
Vadim Petrochenkov
e94d3b70cb
Move directory libsyntax
-> librustc_ast
2020-02-29 20:47:10 +03:00