summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
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
2022-06-12Improves parser diagnostics, fixes #93867threadexception-4/+22
2022-06-07Recover missing comma after match armMichael Goulet-13/+38
2022-06-06Add spaces before and after expr in add {} suggestionWaffle Maybe-2/+2
2022-06-05Suggest removing label in `'label: non_block_expr`Maybe Waffle-3/+14
2022-06-05Do not suggest adding labeled block if there are no labeled breaksMaybe Waffle-0/+23
2022-06-05Suggest adding `{}` for `'label: non_block_expr`Maybe Waffle-2/+28
2022-06-02Rollup merge of #97166 - nnethercote:move-conditions-out, r=estebankYuki Okushi-8/+8
2022-05-24Minor improvement on else-no-if diagnosticMichael Goulet-8/+1
2022-05-23Parse expression after `else` as a condition if followed by `{`Michael Goulet-5/+57
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-2/+2
2022-05-19Move condition out of `maybe_recover_from_bad_qpath`.Nicholas Nethercote-8/+8
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-0/+21
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-3/+3
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-44/+46
2022-04-27Avoid producing `NoDelim` values in `TokenCursorFrame`.Nicholas Nethercote-1/+2
2022-04-07Shrink `Nonterminal`.Nicholas Nethercote-1/+1
2022-04-05errors: implement fallback diagnostic translationDavid Wood-2/+2