about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2022-09-30Remove expr_parentheses_needed from ParseSessMichael Goulet-1/+1
2022-09-27Implement IntoDiagnosticArg for rustc_ast::token::Token(Kind)Xiretza-2/+1
2022-09-27Don't unnecessarily stringify paths in diagnosticsXiretza-9/+9
2022-09-27Migrate even more diagnostics in rustc_parse to diagnostic structsXiretza-20/+22
2022-09-27Migrate more rustc_parse diagnostics to diagnostic structsXiretza-5/+5
2022-09-27Move rustc_parse diagnostic structs to separate moduleXiretza-24/+22
2022-09-27Migrate "invalid literal suffix" diagnostic to diagnostic structsXiretza-45/+28
2022-09-27Migrate more diagnostics in rustc_parse to diagnostic structsXiretza-188/+139
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-1/+1
2022-09-21UPDATE - move SessionDiagnostic from rustc_session to rustc_errorsJhonny Bill Mena-1/+1
2022-09-16use subdiagnostic for logical negation, bitwise notyukang-8/+11
2022-09-15more tweak on diagnostic messagesyukang-0/+9
2022-09-07Rollup merge of #101502 - TaKO8Ki:do-not-suggest-semicolon-for-macro-without-...Matthias Krüger-0/+3
2022-09-07do not suggest a semicolon for a macro without `!`Takayuki Maeda-0/+3
2022-09-05UPDATE - into_diagnostic to take a Handler instead of a ParseSessJhonny Bill Mena-2/+3
2022-09-01Auto merge of #100869 - nnethercote:replace-ThinVec, r=spastorinobors-6/+11
2022-08-31Fix a bunch of typoDezhi Wu-2/+2
2022-08-29Revert let_chains stabilizationNilstrieb-6/+22
2022-08-29Improve `parse_dot_or_call_expr_with`.Nicholas Nethercote-6/+11
2022-08-25Rollup merge of #99332 - jyn514:stabilize-label-break-value, r=petrochenkovYuki Okushi-4/+0
2022-08-23Stabilize `#![feature(label_break_value)]`Joshua Nelson-4/+0
2022-08-22Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebankDylan DPC-282/+144
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-14/+10
2022-08-21Migrate diagnostics in parser/expr to SessionDiagnosticXiretza-282/+144
2022-08-20Auto merge of #100564 - nnethercote:box-ast-MacCall, r=spastorinobors-2/+2
2022-08-17Box the `MacCall` in various types.Nicholas Nethercote-2/+2
2022-08-16Rename some things related to literals.Nicholas Nethercote-3/+3
2022-08-15Rollup merge of #100559 - nnethercote:parser-simplifications, r=compiler-errorsMatthias Krüger-193/+144
2022-08-15Simplify attribute handling in `parse_bottom_expr`.Nicholas Nethercote-186/+140
2022-08-15Streamline `parse_path_start_expr`.Nicholas Nethercote-9/+6
2022-08-12Adjust span of closure paramMichael Goulet-1/+1
2022-08-11Rollup merge of #100351 - compiler-errors:diagnostic-convention, r=fee1-deadDylan DPC-1/+1
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-5/+7
2022-08-10Use &mut Diagnostic instead of &mut DiagnosticBuilder unless neededMichael Goulet-1/+1
2022-08-10suggest a missing semicolon before an arrayTakayuki Maeda-0/+42
2022-08-01Use expr parse restrictions for let expr parsingMichael Goulet-39/+17
2022-07-29dont call type ascription 'cast'Michael Goulet-6/+7
2022-07-25Remove let-chain close brace check.Eric Huss-4/+1
2022-07-16Stabilize `let_chains`Caio-23/+7
2022-07-14Rollup merge of #98705 - WaffleLapkin:closure_binder, r=cjgillotDylan DPC-26/+22
2022-07-13Rollup merge of #99030 - rust-lang:notriddle/field-recovery, r=petrochenkovDylan DPC-0/+18
2022-07-12Update compiler/rustc_parse/src/parser/expr.rsMichael Howell-1/+1
2022-07-12Parse closure bindersMaybe Waffle-26/+22
2022-07-08Fix last let_chains blockerCaio-8/+24
2022-07-07diagnostics: suggest naming a field after failing to parseMichael Howell-0/+13
2022-07-07diagnostics: mention the `:` token when struct fields fail to parseMichael Howell-0/+5
2022-06-25[rustc_parse] Forbid lets in certain placesCaio-3/+27
2022-06-13Improve parsing errors and suggestions for bad if statementsMichael Goulet-40/+66
2022-06-14Rollup merge of #95211 - terrarier2111:improve-parser, r=compiler-errorsYuki Okushi-4/+22
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-29/+24