about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
AgeCommit message (Expand)AuthorLines
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
2023-11-28Suggest `let` or `==` on typo'd let-chainEsteban Küber-0/+26
2023-11-27Suggest swapping the order of `ref` and `box`Hirochika Matsumoto-0/+8
2023-11-19Rollup merge of #117891 - compiler-errors:recover-for-dyn, r=davidtwcoMichael Goulet-0/+20
2023-11-16Smaller span for unnessary `mut` suggestionEsteban Küber-2/+1
2023-11-15discard invalid spans in external blocksbohan-1/+1
2023-11-14Recover `dyn` and `impl` after `for<...>`Michael Goulet-0/+20
2023-11-07Auto merge of #117297 - clubby789:fn-trait-missing-paren, r=TaKO8Kibors-0/+28
2023-11-01Rollup merge of #117298 - clubby789:fn-missing-params, r=petrochenkovMatthias Krüger-0/+8
2023-11-01Give a better diagnostic for missing parens in Fn* boundsclubby789-0/+28
2023-11-01Recover from missing param list in function definitionsclubby789-0/+8
2023-10-30Talk about `gen fn` in diagnostics about `gen fn`Oli Scherer-2/+2
2023-10-26Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 editionOli Scherer-0/+8
2023-10-03Detect missing `=>` after match guard during parsingEsteban Küber-0/+11
2023-09-28Tweak wording of missing angle backets in qualified pathEsteban Küber-2/+11