about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-09-15more tweak on diagnostic messagesyukang-0/+1
2022-09-08fixes #101477: Recover from typo where == is used in place of =yukang-0/+16
2022-09-06Auto merge of #101362 - compiler-errors:unnecessary-let, r=cjgillotbors-0/+8
2022-09-03Suggest removing unnecessary prefix let in patternsMichael Goulet-0/+8
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-5/+5
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-28Auto merge of #100497 - kadiwa4:remove_clone_into_iter, r=cjgillotbors-1/+1
2022-08-23parser will not give wrong help message for 'public'yukang-10/+14
2022-08-23Rollup merge of #100565 - TaKO8Ki:suggest-adding-missing-semicolon-before-ite...Matthias Krüger-2/+4
2022-08-22Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebankDylan DPC-0/+343
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-1/+1
2022-08-21Migrate diagnostics in parser/expr to SessionDiagnosticXiretza-0/+343
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-8/+8
2022-08-20Rollup merge of #100750 - akabinds:akabinds/improved-invalid-function-qual-er...Matthias Krüger-0/+9
2022-08-18added improved diagnostic for a function defined with an invalid qualifierakabinds-0/+9
2022-08-17Migrate "invalid variable declaration" errors to SessionDiagnosticXiretza-0/+29
2022-08-15Rollup merge of #100559 - nnethercote:parser-simplifications, r=compiler-errorsMatthias Krüger-7/+5
2022-08-15suggest adding a missing semicolon before an itemTakayuki Maeda-2/+4
2022-08-15Simplify attribute handling in `parse_bottom_expr`.Nicholas Nethercote-7/+5
2022-08-14Make code slightly more uniformRageking8-2/+2
2022-08-13avoid cloning and then iteratingKaDiWa-1/+1
2022-08-10Use &mut Diagnostic instead of &mut DiagnosticBuilder unless neededMichael Goulet-4/+4
2022-08-04Rollup merge of #98796 - compiler-errors:no-semi-if-comma, r=estebankMatthias Krüger-1/+2
2022-07-29Add diagnostic when using public instead of pubGimgim-0/+11
2022-07-23Do not suggest adding `;` when `,` is also a choiceMichael Goulet-1/+2
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