about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-11/+11
2022-02-28Rollup merge of #94445 - c410-f3r:more-let-chains, r=cjgillotMatthias Krüger-39/+39
2022-02-28Tweak diagnosticsEsteban Kuber-14/+39
2022-02-284 - Make more use of `let_chains`Caio-39/+39
2022-02-25Suggest {} around more bad const generic exprsMichael Goulet-16/+23
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-10/+22
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-21/+18
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-6/+6
2022-02-03compiler: clippy::complexity fixesMatthias Krüger-4/+4
2022-01-27Improve suggestion for escaping reserved keywordsNoah Lev-4/+4
2022-01-25delay the bug once again, generalize turbofish suggestionMichael Goulet-18/+12
2022-01-25Remove delayed bug when encountering label in bad turbofishMichael Goulet-1/+1
2022-01-17Rollup merge of #92876 - compiler-errors:fix-turbofish-lifetime-suggestion, r...Matthias Krüger-16/+23
2022-01-16Rollup merge of #92746 - estebank:question-mark-in-type, r=davidtwcoMatthias Krüger-1/+29
2022-01-13Fix suggesting turbofish with lifetime argumentsMichael Goulet-16/+23
2022-01-14Parse `Ty?` as `Option<Ty>` and provide structured suggestionEsteban Kuber-1/+29
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-2/+2
2021-12-14fix clippy::single_char_pattern perf findingsMatthias Krüger-1/+1
2021-12-09Remove redundant [..]sest31-3/+3
2021-12-04Do not add `;` to expected tokens list when it's wrongMichael Howell-1/+2
2021-11-29review comments: clean upEsteban Kuber-2/+180
2021-11-25Auto merge of #85346 - estebank:issue-84946, r=nagisa,varkorbors-6/+73
2021-11-24Tweak span and add more testsEsteban Kuber-5/+2
2021-11-24Account for incorrect `impl Foo<const N: ty> {}` syntaxEsteban Küber-6/+76
2021-11-22fix(doctest): detect extern crate items in statement doctestsMichael Howell-1/+1
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-2/+2
2021-09-24Auto merge of #88835 - FabianWolff:issue-88770, r=petrochenkovbors-2/+2
2021-09-17Rollup merge of #87566 - JohnTitor:find-eqeq-on-assoc-type-bounds, r=estebankGuillaume Gomez-1/+13
2021-09-17Apply review commentsYuki Okushi-2/+2
2021-09-17Recover invalid assoc type bounds using `==`Yuki Okushi-1/+13
2021-09-17Use `multipart_suggestion`Yuki Okushi-19/+13
2021-09-17Emit clearer diagnostics for parens around `for` loop headsYuki Okushi-2/+3
2021-09-13Auto merge of #87915 - estebank:fancy-spans, r=oli-obkbors-39/+46
2021-09-10Fix error recovery in format macro parsingFabian Wolff-2/+2
2021-09-04Auto merge of #88598 - estebank:type-ascription-can-die-in-a-fire, r=wesleywiserbors-3/+8
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-3/+8
2021-08-27Point at unclosed delimiters as part of the primary MultiSpanEsteban Kuber-1/+11
2021-08-12Use smaller spans for some structured suggestionsEsteban Kuber-39/+46
2021-07-30Use multispan suggestions more oftenEsteban Küber-1/+1
2021-07-24fix code to suggest `;` on parse errorElliot Bobrow-57/+57
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-1/+1
2021-05-08Rename `Parser::span_fatal_err` -> `Parser::span_err`Joshua Nelson-5/+1
2021-04-12don't bump in check_mistyped_turbofish_with_multiple_type_paramsb-naber-15/+17
2021-03-17Emit more pretty diagnostics for qualified pathsYuki Okushi-14/+21
2021-03-17Fix bad diagnostics for anon params with qualified pathsYuki Okushi-10/+20
2021-03-17Fix bad diagnostics for anon params with refYuki Okushi-31/+54
2021-02-27Fix turbofish recovery with multiple generic argsÖmer Sinan Ağacan-1/+1
2021-02-25fix reviewklensy-1/+1
2021-02-24replaced some map_or with map_or_elseklensy-1/+1
2021-02-15Simplify pattern grammar by allowing nested leading vertmark-1/+1