about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2022-11-11Rollup merge of #103468 - chenyukang:yukang/fix-103435-extra-parentheses, r=e...Manish Goregaokar-5/+19
2022-11-04Don't silently eat label before block in block-like exprMichael Goulet-4/+8
2022-10-28Gate some recovery behind a flagNilstrieb-0/+12
2022-10-24fix parentheses surrounding spacing issue in parseryukang-5/+19
2022-10-23Migrate all diagnosticsNilstrieb-1/+1
2022-10-21Rollup merge of #102922 - kper:bugfix/102902-filtering-json, r=oli-obkDylan DPC-1/+9
2022-10-20Implement assertions and fixes to not emit empty spans without suggestionsKevin Per-1/+9
2022-10-18Fix the bug of next_point in spanyukang-2/+2
2022-10-14more dupe word typosRageking8-1/+1
2022-09-30Remove expr_parentheses_needed from ParseSessMichael Goulet-1/+2
2022-09-27Implement IntoDiagnosticArg for rustc_ast::token::Token(Kind)Xiretza-3/+3
2022-09-27Document use of Symbol::to_string()Xiretza-0/+2
2022-09-27Migrate even more diagnostics in rustc_parse to diagnostic structsXiretza-193/+109
2022-09-27Migrate "struct literal body without path" error to diagnostic structXiretza-16/+11
2022-09-27Migrate "expected semicolon" diagnostics to diagnostic structsXiretza-16/+21
2022-09-27Migrate "expected identifier" diagnostics to diagnostic structsXiretza-29/+25
2022-09-27Migrate more rustc_parse diagnostics to diagnostic structsXiretza-37/+0
2022-09-27Move rustc_parse diagnostic structs to separate moduleXiretza-781/+5
2022-09-27Migrate "invalid literal suffix" diagnostic to diagnostic structsXiretza-1/+25
2022-09-27Migrate more diagnostics in rustc_parse to diagnostic structsXiretza-3/+247
2022-09-26Rollup merge of #102286 - compiler-errors:recover-semi-in-block-item, r=david...Matthias Krüger-0/+8
2022-09-25Recover some items that expect braces and don't take semicolonsMichael Goulet-0/+8
2022-09-22Add missing code="" attributes to suggestion subdiagnosticsXiretza-4/+4
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-7/+7
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-42/+42
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-42/+42
2022-09-16use subdiagnostic for logical negation, bitwise notyukang-3/+26
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