about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2025-03-10use next_back() instead of last() on DoubleEndedIteratorMatthias Krüger-1/+1
2025-03-06Give a better error message on async use in edition 2015Santiago Pastorino-8/+15
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-3/+18
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-3/+3
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-12/+7
2025-02-28Auto merge of #137517 - nnethercote:rm-NtPat-NtItem-NtStmt, r=petrochenkovbors-50/+2
2025-02-28Remove `NtPat`.Nicholas Nethercote-50/+2
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-14/+22
2025-02-19Tweak "expected ident" parse error to avoid talking about doc commentsEsteban Küber-7/+9
2025-02-08Rustfmtbjorn3-26/+32
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-2/+2
2024-12-29Rollup merge of #134884 - calciumbe:patch1, r=jieyouxuMatthias Krüger-1/+1
2024-12-29fix: typoscalciumbe-1/+1
2024-12-27Skip parenthesis around tuple struct field callsDavid Tolnay-1/+1
2024-12-20Reduce the amount of explicit FatalError.raise()bjorn3-12/+5
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-87/+52
2024-12-19Remove `bra`/`ket` naming.Nicholas Nethercote-4/+4
2024-12-19Rename `Parser::expected_tokens` as `Parser::expected_token_types`.Nicholas Nethercote-9/+10
2024-12-18Only have one source of truth for keywords.Nicholas Nethercote-2/+2
2024-12-18Simplify `AllKeywords`.Nicholas Nethercote-2/+2
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+2
2024-12-12Remove `PErr`.Nicholas Nethercote-3/+3
2024-11-28Improve span handling in `parse_expr_bottom`.Nicholas Nethercote-3/+2
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-1/+2
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-37/+31
2024-09-12Implement a Method to Seal `DiagInner`'s SuggestionsVeera-2/+8
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-09-06Add Suggestions for Misspelled KeywordsVeera-3/+82
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-5/+5
2024-08-16Overhaul token collection.Nicholas Nethercote-9/+10
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-29/+26
2024-07-29Reformat `use` declarations.Nicholas Nethercote-24/+25
2024-07-19Rollup merge of #127350 - veera-sivarajan:bugfix-126311, r=lcnrMatthias Krüger-4/+4
2024-07-18Parser: Suggest Placing the Return Type After Function ParametersVeera-4/+4
2024-07-18Rollup merge of #127835 - estebank:issue-127823, r=compiler-errorsMatthias Krüger-4/+1
2024-07-18Fix ICE in suggestion caused by `⩵` being recovered as `==`Esteban Küber-4/+1
2024-07-18More accurate span for anonymous argument suggestionEsteban Küber-6/+6
2024-07-12fix unused bindingEsteban Küber-1/+1
2024-07-12More accurate incorrect use of `await` suggestionEsteban Küber-11/+7
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-20/+15
2024-06-21Rollup merge of #126125 - dev-ardi:conflict-markers, r=estebankMatthias Krüger-16/+42
2024-06-19Auto merge of #126678 - nnethercote:fix-duplicated-attrs-on-nt-expr, r=petroc...bors-3/+10
2024-06-19Refactor `parse_expr_res`.Nicholas Nethercote-3/+10
2024-06-19make this comment correctardi-3/+4
2024-06-19Improve conflict marker recoveryardi-13/+38
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-2/+2
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+2
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-1/+1
2024-06-17Make parse_seq_to_before_tokens take expected/nonexpected tokens, use in pars...Michael Goulet-5/+2