about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/stmt.rs
AgeCommit message (Expand)AuthorLines
2025-08-30review comment: move `Visitor`Esteban Küber-27/+29
2025-08-20Detect missing `if let` or `let-else`Esteban Küber-0/+94
2025-08-14Add FnContext in parser for diagnosticxizheyin-3/+3
2025-08-09remove `P`Deadbeef-14/+13
2025-06-26Add Ident::is_non_reserved_identMichael Goulet-1/+1
2025-06-03Add `iter` macroOli Scherer-1/+1
2025-05-28Fix ICE in tokenstream with contracts from parser recoveryyukang-7/+6
2025-05-14Improve ternary operator recoveryJamie-1/+6
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-20/+13
2025-04-16Remove old diagnostic notes for type ascription syntaxZalathar-4/+0
2025-04-14Rollup merge of #139392 - compiler-errors:raw-expr, r=oli-obkMatthias Krüger-1/+5
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-5/+7
2025-04-04Detect and provide suggestion for `&raw EXPR`Michael Goulet-1/+5
2025-04-04Implement `super let`.Mara Bos-6/+8
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-1/+1
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-4/+6
2025-03-28Add the feature gate for the `super let` experiment.Mara Bos-1/+14
2025-03-25Remove now unreachable parse recovery codeLeón Orell Valerian Liehr-8/+2
2025-03-24Remove fields that are dead since the removal of type ascription syntaxLeón Orell Valerian Liehr-8/+1
2025-03-17If a label is placed on the block of a loop instead of the header, suggest mo...Zachary S-6/+16
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-18/+42
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-1/+1
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-2/+11
2025-02-08Rustfmtbjorn3-8/+14
2024-12-21Do not suggest `foo.Bar`Esteban Küber-1/+6
2024-12-21Account for missing `.` in macros to avoid incorrect suggestionEsteban Küber-0/+4
2024-12-21Detect missing `.` in method chain in let bindings and statementsEsteban Küber-2/+44
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-14/+13
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-30Eliminate precedence arithmetic from rustc_parseDavid Tolnay-2/+3
2024-11-16review comment: move logic to new methodEsteban Küber-88/+103
2024-11-16Reword suggestion messageEsteban Küber-2/+2
2024-11-16Increase accuracy of `if` condition misparse suggestionEsteban Küber-9/+89
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-18/+12
2024-09-18Add suggestions for expressions in patternsLieselotte-2/+8
2024-08-24Rollup merge of #128524 - chenyukang:yukang-fix-127930-invalid-outer-style-su...Trevor Gross-0/+5
2024-08-16Overhaul token collection.Nicholas Nethercote-17/+45
2024-08-16Convert a bool to `Trailing`.Nicholas Nethercote-6/+7
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-2/+2
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-3/+3
2024-08-09parser: ensure let stmt compound assignment removal suggestion respect codepo...许杰友 Jieyou Xu (Joe)-2/+6
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-3/+3
2024-08-04don't suggest turning crate-level attributes into outer styleyukang-0/+5
2024-08-01Move a comment to a better spot.Nicholas Nethercote-2/+1
2024-07-31Remove `LhsExpr`.Nicholas Nethercote-4/+2
2024-07-31Inline and remove `parse_local_mk`.Nicholas Nethercote-16/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-17/+17
2024-07-19Only check `force_collect` in `collect_tokens_trailing_token`.Nicholas Nethercote-16/+17
2024-07-19Don't always force collect tokens in `recover_stmt_local_after_let`.Nicholas Nethercote-6/+9
2024-07-18Remove `TrailingToken`.Nicholas Nethercote-16/+4