about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-04-23Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwcoLeón Orell Valerian Liehr-1/+1
2024-04-23Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwcoMatthias Krüger-0/+9
2024-04-22Improve handling of expr->field errorsSasha Pourcelot-0/+9
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-1/+1
2024-04-18Disallow ambiguous attributes on expressionsDominik Stolz-0/+9
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-8/+0
2024-03-26Rollup merge of #122120 - fmease:sugg-assoc-ty-bound-on-eq-bound, r=compiler-...Matthias Krüger-4/+13
2024-03-24Rollup merge of #122217 - estebank:issue-119685, r=fmeaseMatthias Krüger-1/+21
2024-03-23Suggest assoc ty bound on lifetime in eq constraintLeón Orell Valerian Liehr-4/+13
2024-03-21Remove non-useful code path.Nicholas Nethercote-7/+0
2024-03-17Use shorter span for existing `'` -> `"` structured suggestionEsteban Küber-1/+10
2024-03-17Handle str literals written with `'` lexed as lifetimeEsteban Küber-0/+11
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-9/+9
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-6/+6
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-2/+2
2024-02-29Remove unused diagnostic structr0cky-8/+0
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-7/+7
2024-02-22Make some `IntoDiagnostic` impls generic.Nicholas Nethercote-4/+4
2024-02-20Support async trait bounds in macrosMichael Goulet-0/+7
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-2/+6
2024-02-17Use better heuristic for printing Cargo specific diagnosticsUrgau-1/+1
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-6/+3
2024-01-31Better error message in ed 2015Michael Goulet-0/+9
2024-01-29Rollup merge of #118625 - ShE3py:expr-in-pats, r=WaffleLapkinDylan DPC-0/+12
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-9/+9
2024-01-28Handle methodcalls & operators in patternsLieselotte-0/+12
2024-01-19Rollup merge of #119062 - compiler-errors:asm-in-let-else, r=davidtwco,est31Matthias Krüger-12/+25
2024-01-18Rollup merge of #119172 - nnethercote:earlier-NulInCStr, r=petrochenkovMatthias Krüger-0/+5
2024-01-18Suggest wrapping mac args in parens rather than the whole expressionMichael Goulet-12/+25
2024-01-12Suggest quoting unquoted idents in attrssjwang05-0/+19
2024-01-12Detect `NulInCStr` error earlier.Nicholas Nethercote-0/+5
2024-01-05Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errorsMichael Goulet-4/+4
2024-01-04Auto merge of #119569 - matthiaskrgr:rollup-4packja, r=matthiaskrgrbors-0/+21
2024-01-03Recover parentheses in range patternsLieselotte-0/+21
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-4/+4
2024-01-02Make offset_of field parsing use metavariable which handles any spacingGeorge Bateman-0/+8
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-17/+1
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-12/+4
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-33/+47
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-4/+4
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-2/+2
2023-12-14Avoid `struct_diagnostic` where possible.Nicholas Nethercote-2/+2
2023-12-08Support async gen fnMichael Goulet-7/+0
2023-12-07Rollup merge of #116420 - bvanjoi:fix-116203, r=NilstriebMatthias Krüger-1/+1
2023-12-06Auto merge of #118655 - compiler-errors:rollup-vrngyzn, r=compiler-errorsbors-5/+5
2023-12-04Make async gen fn an errorEric Holk-0/+7
2023-12-04De-genericize some `IntoDiagnostic` impls.Nicholas Nethercote-5/+5
2023-11-29Account for `(pat if expr) => {}`Esteban Küber-0/+18
2023-11-29More accurate span for unnecessary parens suggestionEsteban Küber-4/+2
2023-11-29Rollup merge of #118191 - estebank:let-chain-typo, r=compiler-errorsMatthias Krüger-0/+26