about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-07-29Add diagnostic when using public instead of pubGimgim-0/+11
2022-07-01update cfg(bootstrap)sPietro Albini-2/+2
2022-06-27various: add `rustc_lint_diagnostics` to diag fnsDavid Wood-0/+2
2022-06-24macros: use typed identifiers in subdiag deriveDavid Wood-3/+3
2022-06-24macros: use typed identifiers in diag deriveDavid Wood-9/+9
2022-06-20Rollup merge of #98183 - dtolnay:emptybound, r=lcnrYuki Okushi-1/+4
2022-06-17remove the rest of unnecessary `to_string`Takayuki Maeda-4/+4
2022-06-16Fix pretty printing of empty type bound lists in where-clauseDavid Tolnay-1/+4
2022-06-14Rollup merge of #95211 - terrarier2111:improve-parser, r=compiler-errorsYuki Okushi-0/+30
2022-06-13remove unnecessary `to_string` and `String::new` for `tool_only_span_suggestion`Takayuki Maeda-1/+1
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-19/+19
2022-06-12Improves parser diagnostics, fixes #93867threadexception-0/+30
2022-06-12use `create_snapshot_for_diagnostic` instead of `clone`Takayuki Maeda-2/+2
2022-06-02Rollup merge of #97587 - pvdrz:maybe-recover-from-bad-qpath-stage-2, r=davidtwcoDylan DPC-44/+77
2022-06-02Rollup merge of #97166 - nnethercote:move-conditions-out, r=estebankYuki Okushi-31/+11
2022-06-01rename `sp` to `span`Christian Poveda-2/+2
2022-05-31migrate `check_for_for_in_in_typo` diagnosticChristian Poveda-8/+13
2022-05-31merge diagnostics about incorrect uses of `.await`Christian Poveda-3/+3
2022-05-31migrate `error_on_incorrect_await` diagnosticChristian Poveda-9/+22
2022-05-31use `suggestion_short` for incorrect semicolon diagnosticChristian Poveda-1/+1
2022-05-31migrate `recover_from_await_method_call` diagnosticChristian Poveda-8/+10
2022-05-31migrate `maybe_consume_incorrect_semicolon` diagnosticChristian Poveda-9/+18
2022-05-31migrate `maybe_recover_from_bad_qpath_stage_2` diagnosticChristian Poveda-9/+13
2022-05-30errors: simplify referring to fluent attributesDavid Wood-7/+4
2022-05-24Auto merge of #97121 - pvdrz:do-subdiagnostics-later, r=davidtwcobors-9/+7
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-5/+5
2022-05-19Move condition out of `maybe_recover_unexpected_comma`.Nicholas Nethercote-4/+3
2022-05-19Move condition out of `maybe_recover_colon_colon_in_pat_typo`.Nicholas Nethercote-4/+3
2022-05-19Move condition out of `maybe_report_ambiguous_plus` and `maybe_recover_from_b...Nicholas Nethercote-14/+4
2022-05-19Move condition out of `maybe_recover_from_question_mark`.Nicholas Nethercote-9/+2
2022-05-19Move condition out of `maybe_recover_from_bad_qpath`.Nicholas Nethercote-3/+2
2022-05-17generate code for `subdiagnostic` fields in the second `match`Christian Poveda-9/+7
2022-05-16keep bounds where they wereChristian Poveda-2/+1
2022-05-16migrate `maybe_recover_from_bad_type_plus` diagnosticChristian Poveda-25/+48
2022-05-11Remove some unnecessary invisible delimiter checks.Nicholas Nethercote-2/+1
2022-04-28Rollup merge of #96433 - petrochenkov:delim, r=nnethercoteDylan DPC-42/+43
2022-04-28Rollup merge of #96405 - pvdrz:ambiguous-plus-diagnostic, r=davidtwcoDylan DPC-9/+12
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-42/+43
2022-04-27rename `sum_with_parens`Christian Poveda-6/+3
2022-04-26move `AmbigousPlus` outsideChristian Poveda-9/+10
2022-04-26avoid `format!`Christian Poveda-2/+2
2022-04-25remove old codeChristian Poveda-9/+0
2022-04-25migrate ambiguous plus diagnosticChristian Poveda-9/+23
2022-04-23Better handle too many `#` recovery in raw strEsteban Küber-9/+34
2022-04-05errors: implement fallback diagnostic translationDavid Wood-14/+22
2022-04-05span: move `MultiSpan`David Wood-3/+3
2022-04-03Auto merge of #88672 - camelid:inc-parser-sugg, r=davidtwcobors-1/+213
2022-04-02Fix doctest multi-line mod attributes handlingGuillaume Gomez-0/+4
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-27Fix from rebaseNoah Lev-5/+5