about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2022-10-03Add comments to `TokenCursor::desugar`.Nicholas Nethercote-1/+5
2022-10-01Rollup merge of #102500 - compiler-errors:parse-sess-cleanup, r=cjgillotMatthias Krüger-3/+5
2022-09-30Rollup merge of #102493 - nnethercote:improve-size-assertions-some-more, r=lqdMatthias Krüger-8/+10
2022-10-01Group together more size assertions.Nicholas Nethercote-8/+10
2022-09-30Rollup merge of #102350 - TaKO8Ki:incomplete-fn-in-struct-definition, r=fee1-...Matthias Krüger-11/+17
2022-09-30Remove expr_parentheses_needed from ParseSessMichael Goulet-3/+5
2022-09-29improve E0585 helpRageking8-2/+2
2022-09-28Auto merge of #101619 - Xiretza:rustc_parse-session-diagnostics, r=davidtwcobors-1253/+496
2022-09-27Rollup merge of #102284 - compiler-errors:missing-type-in-raw-ptr, r=davidtwcoMatthias Krüger-4/+7
2022-09-27Implement IntoDiagnosticArg for rustc_ast::token::Token(Kind)Xiretza-32/+22
2022-09-27Don't unnecessarily stringify paths in diagnosticsXiretza-9/+9
2022-09-27Document use of Symbol::to_string()Xiretza-0/+2
2022-09-27Migrate even more diagnostics in rustc_parse to diagnostic structsXiretza-213/+131
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-42/+60
2022-09-27Rework "inner attribute not permitted" errorsXiretza-58/+58
2022-09-27Remove error condition in parse_attributeXiretza-25/+12
2022-09-27Migrate more rustc_parse diagnostics to diagnostic structsXiretza-150/+62
2022-09-27Move rustc_parse diagnostic structs to separate moduleXiretza-811/+34
2022-09-27Migrate "invalid literal suffix" diagnostic to diagnostic structsXiretza-47/+56
2022-09-27Migrate more diagnostics in rustc_parse to diagnostic structsXiretza-218/+402
2022-09-28improve errors for incomplete functions in struct definitionsTakayuki Maeda-11/+17
2022-09-27Structured suggestion for missing mut/const in pointerMichael Goulet-4/+7
2022-09-27add a label to struct/enum/union ident nameTakayuki Maeda-10/+26
2022-09-27create a new local varTakayuki Maeda-5/+3
2022-09-26Rollup merge of #102286 - compiler-errors:recover-semi-in-block-item, r=david...Matthias Krüger-7/+30
2022-09-26Auto merge of #102297 - fee1-dead-contrib:rollup-2np0cre, r=fee1-deadbors-0/+17
2022-09-25Recover some items that expect braces and don't take semicolonsMichael Goulet-7/+30
2022-09-22recover from struct nested in structRageking8-0/+17
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-43/+43
2022-09-21UPDATE - move SessionDiagnostic from rustc_session to rustc_errorsJhonny Bill Mena-1/+1
2022-09-21Auto merge of #101846 - chenyukang:fix-101793, r=davidtwcobors-5/+41
2022-09-20Rollup merge of #100250 - cjgillot:recover-token-stream, r=Aaron1011Michael Howell-1/+0
2022-09-16Rollup merge of #101859 - Rageking8:slight-vertical-formatting, r=compiler-er...Guillaume Gomez-12/+12
2022-09-16use subdiagnostic for logical negation, bitwise notyukang-11/+37
2022-09-16tweak suggestionyukang-1/+1
2022-09-15slight vertical formattingRageking8-12/+12
2022-09-15more tweak on diagnostic messagesyukang-0/+10
2022-09-15fix #101797: Suggest associated const for incorrect use of let in traitsyukang-4/+15
2022-09-14Auto merge of #101313 - SparrowLii:mk_attr_id, r=cjgillotbors-2/+15
2022-09-14Auto merge of #101212 - eholk:dyn-star, r=compiler-errorsbors-2/+11
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-2/+15
2022-09-13Address code review commentsEric Holk-3/+1
2022-09-13Emit an error instead of reconstructing token stream.Camille GILLOT-30/+14
2022-09-13Manually cleanup token stream when macro expansion aborts.Camille GILLOT-15/+30