about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-12/+9
2023-12-22Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errorsbors-12/+10
2023-12-20Rollup merge of #118691 - chfogelman:improve-cstr-error, r=fmeaseMatthias Krüger-7/+29
2023-12-19Improve compiler error for c-strings in pre-2021Carter Hunt Fogelman-7/+29
2023-12-18Use `.into_diagnostic()` less.Nicholas Nethercote-12/+10
2023-12-18Rename `Parser::span_diagnostic` as `Parser::dcx`.Nicholas Nethercote-10/+10
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-3/+3
2023-12-15Change `msg: impl Into<String>` for bug diagnostics.Nicholas Nethercote-2/+2
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-21/+16
2023-12-05Rollup merge of #117922 - estebank:unclosed-generics, r=b-naberMatthias Krüger-9/+34
2023-12-03Detect attempts to expand a macro to a match arm againNadrieril-21/+16
2023-12-03Auto merge of #118542 - chenyukang:yukang-fix-parser-ice-118531, r=cjgillotbors-12/+4
2023-12-02Fix parser ICE from attrsyukang-12/+4
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-10/+9
2023-12-01Tweak unclosed generics errorsEsteban Küber-9/+34
2023-11-29Change how `for (x in foo) {}` is handledEsteban Küber-37/+6
2023-11-29More accurate span for unnecessary parens suggestionEsteban Küber-24/+5
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-4/+4
2023-11-19Rollup merge of #117988 - estebank:issue-106020, r=cjgillotMichael Goulet-0/+96
2023-11-16Handle attempts to have multiple `cfg`d tail expressionsEsteban Küber-0/+96
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-2/+56
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+3
2023-10-30When encountering unclosed delimiters during parsing, check for diff markersEsteban Küber-3/+9
2023-10-26Recover ternary expression as errorclubby789-9/+11
2023-10-26Properly restore snapshot when failing to recover parsing ternaryclubby789-4/+2
2023-10-20Move where doc comment meant as comment checkEsteban Küber-1/+21
2023-10-15Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstriebbors-42/+50
2023-10-13Format all the let chains in compilerMichael Goulet-42/+50
2023-10-12Detect ruby-style closure in parserEsteban Küber-0/+59
2023-09-28Tweak wording of missing angle backets in qualified pathEsteban Küber-4/+3
2023-08-08inlined kinddarklyspaced-2/+1
2023-08-07always return ExprKind::Errdarklyspaced-6/+1
2023-08-04Rollup merge of #113999 - Centri3:macro-arm-expand, r=wesleywiserMatthias Krüger-16/+21
2023-08-03Rollup merge of #114300 - MU001999:fix/turbofish-pat, r=estebankMatthias Krüger-3/+3
2023-08-03Reduce arbitrary self type suggestionsr0cky-15/+3
2023-08-03Avoid too many expected symbols and reduce `None`sr0cky-1/+1
2023-08-03Keep the suggestion for wrong arbitrary self typesMu001999-7/+19
2023-07-31parser: more friendly hints for handling `async move` in the 2015 editionbohan-4/+11
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-2/+2
2023-07-25Only early return if recoveredCatherine Flores-15/+20
2023-07-25Remove unnecessary `maybe_ternary_lo` fieldCatherine Flores-7/+3
2023-07-25Gracefully handle missing ternary operatorCatherine Flores-2/+44
2023-07-24Specify macro is invalid in certain contextsCatherine-16/+21
2023-07-20Don't translate compiler-internal bug messagesOli Scherer-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-2/+3
2023-07-04Detect extra space in keyword for better hintyukang-0/+16
2023-06-10remove unwrapyukang-9/+12
2023-06-10take care module name for suggesting surround the struct literal in parenthesesyukang-1/+9
2023-05-24Use `is_some_and`/`is_ok_and` in less obvious spotsMaybe Waffle-1/+1