about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2025-10-03Rollup merge of #147245 - karolzwolak:only-replace-intended-bar-not-all-in-pa...Matthias Krüger-18/+16
2025-10-02bring back plural 'alternatives' in suggestion messageKarol Zwolak-1/+1
2025-10-01Fix diagnostics str::replace comma to barA4-Tacks-18/+16
2025-09-24Tweak handling of "struct like start" where a struct isn't supportedEsteban Küber-24/+16
2025-08-25Remove the lifetime from `ExpTokenPair`/`SeqSep`.Nicholas Nethercote-9/+9
2025-08-14Add FnContext in parser for diagnosticxizheyin-4/+19
2025-08-09remove `P`Deadbeef-43/+46
2025-07-06compiler: rename {ast,hir}::BareFn* to FnPtr*Jubilee Young-1/+1
2025-06-26Add Ident::is_non_reserved_identMichael Goulet-1/+1
2025-06-16Rollup merge of #142341 - xizheyin:142311, r=fee1-deadJakub Beránek-17/+28
2025-06-16Dont suggest converting `///` to regular comment when it appears after missin...xizheyin-17/+28
2025-06-15use `if let` guards where possibleDeadbeef-16/+11
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-2/+2
2025-05-14Improve ternary operator recoveryJamie-9/+25
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-52/+31
2025-04-17Auto merge of #139940 - matthiaskrgr:rollup-rd4d3fn, r=matthiaskrgrbors-5/+5
2025-04-17Rollup merge of #139854 - fmease:modern-diag-for-lt-in-ty, r=davidtwcoMatthias Krüger-5/+5
2025-04-16Remove old diagnostic notes for type ascription syntaxZalathar-4/+1
2025-04-15Improve diagnostic for E0178 (bad `+` in type)León Orell Valerian Liehr-5/+5
2025-04-14Rollup merge of #139392 - compiler-errors:raw-expr, r=oli-obkMatthias Krüger-0/+21
2025-04-04Detect and provide suggestion for `&raw EXPR`Michael Goulet-0/+21
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-5/+5
2025-03-25Remove now unreachable parse recovery codeLeón Orell Valerian Liehr-44/+20
2025-03-24Remove fields that are dead since the removal of type ascription syntaxLeón Orell Valerian Liehr-15/+10
2025-03-17If a label is placed on the block of a loop instead of the header, suggest mo...Zachary S-6/+23
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