about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
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
2024-06-06Reduce `pub` exposure.Nicholas Nethercote-11/+15
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_parse`.Nicholas Nethercote-0/+1
2024-05-17Clarify that the diff_marker is talking about version control systemardi-10/+23
2024-05-14improve maybe_consume_incorrect_semicolonardi-23/+20
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-15/+8
2024-05-11Rollup merge of #124930 - compiler-errors:consume-arg, r=petrochenkov许杰友 Jieyou Xu (Joe)-1/+5
2024-05-09Make sure we consume a generic arg when checking mistyped turbofishMichael Goulet-1/+5
2024-05-09Add `ErrorGuaranteed` to `Recovered::Yes` and use it more.Nicholas Nethercote-22/+21
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-3/+3
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-6/+6
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-3/+3
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-1/+1
2024-03-07Eagerly translate HelpUseLatestEdition in parser diagnostics许杰友 Jieyou Xu (Joe)-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-13/+13
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-23/+15
2024-02-26Properly emit `expected ;` on `#[attr] expr`Lieselotte-4/+2
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-39/+51
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-28/+28
2024-02-20Use `Recovered` moreclubby789-12/+13
2024-02-20Add newtype for parser recoveryclubby789-10/+8
2024-02-20Add newtype for raw identsclubby789-6/+7
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-6/+6
2024-02-17Rollup merge of #121231 - matthiaskrgr:cloone, r=compiler-errorsMatthias Krüger-2/+2
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-1/+1
2024-02-17remove a couple of redundant clonesMatthias Krüger-2/+2
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-1/+1
2024-02-15Add an `ErrorGuaranteed` to `ast::TyKind::Err`.Nicholas Nethercote-9/+11
2024-02-12Properly handle `async` blocks and `fn`s in `if` exprs without `else`Esteban Küber-1/+1
2024-01-27Rollup merge of #118182 - estebank:issue-118164, r=davidtwcoMatthias Krüger-2/+17
2024-01-26Properly recover from trailing attr in bodyEsteban Küber-2/+17
2024-01-26Rollup merge of #119342 - sjwang05:issue-112254, r=wesleywiserMatthias Krüger-5/+20
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2