about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/stmt.rs
AgeCommit message (Expand)AuthorLines
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-1/+1
2021-02-18Rollup merge of #82236 - matthiaskrgr:useless_conv, r=jyn514Dylan DPC-3/+3
2021-02-17avoid converting types into themselves (clippy::useless_conversion)Matthias Krüger-3/+3
2021-02-15Simplify pattern grammar by allowing nested leading vertmark-1/+1
2021-02-13Address review commentsAaron Hill-3/+2
2021-02-13Require passing an `AttrWrapper` to `collect_tokens_trailing_token`Aaron Hill-22/+41
2021-01-22Refactor token collection to capture trailing token immediatelyAaron Hill-77/+93
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-18/+15
2021-01-13Set tokens on AST node in `collect_tokens`Aaron Hill-9/+1
2020-12-19implement edition-specific :pat behavior for 2015/18mark-2/+2
2020-11-26Only eat semicolons for statements that need themAaron Hill-2/+1
2020-11-26Properly handle attributes on statementsAaron Hill-38/+83
2020-10-07Detect blocks that could be struct expr bodiesEsteban Küber-9/+27
2020-09-15Auto merge of #76171 - estebank:turbofish-the-revenge, r=davidtwcobors-6/+20
2020-09-14Detect turbofish with multiple type params missing leading `::`Esteban Küber-6/+20
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-1/+1
2020-09-10Attach `TokenStream` to `ast::Block`Aaron Hill-1/+1
2020-09-01Rollup merge of #76132 - Aaron1011:mac-call-stmt, r=petrochenkovTyler Mandry-2/+2
2020-08-30Factor out StmtKind::MacCall fields into `MacCallStmt` structAaron Hill-2/+2
2020-08-30parser: restore some fn visibility for rustfmtCaleb Cartwright-1/+2
2020-08-30mv compiler to compiler/mark-0/+427