about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-145/+97
2022-11-15fix #103381, Detect incorrect chaining of if and if let conditionsyukang-2/+13
2022-11-13Add `delay_span_bug` to `AttrWrapper::take_for_recovery`Maybe Waffle-5/+10
2022-11-11Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebankbors-1/+2
2022-11-10Auto merge of #103636 - chenyukang:yukang/fix-103587-sugg-if-let, r=jackh276,...bors-4/+12
2022-11-08Fix outdated commentWaffle Maybe-1/+1
2022-11-08Remove an address comparison from the parserMaybe Waffle-6/+1
2022-11-08fix #103587, Recover from common if let syntax mistakes/typosyukang-4/+12
2022-11-05Fix typoMichael Goulet-2/+2
2022-11-04fake a base to suppress later extra error messageyukang-16/+13
2022-11-04fix #102806, suggest use .. to fill in the rest of the fields of Structyukang-3/+18
2022-10-28Gate some recovery behind a flagNilstrieb-6/+19
2022-10-25Add flag to forbid recovery in the parserNilstrieb-0/+2
2022-10-25Rollup merge of #103333 - chenyukang:yukang/fix-103143, r=wesleywiserYuki Okushi-0/+2
2022-10-23Rollup merge of #101293 - compiler-errors:lt-is-actually-char, r=estebankDylan DPC-9/+67
2022-10-22Don't erroneously deny semicolons after closure expr within parentheses in a ...Michael Goulet-0/+4
2022-10-22Recover unclosed char literal being parsed as lifetimeMichael Goulet-9/+67
2022-10-20fix assertion failed for break_last_token and trailing tokenyukang-0/+2
2022-10-18Fix the bug of next_point in spanyukang-1/+1
2022-10-01Replace some `bool` params with an enumMaybe Waffle-1/+2
2022-10-01Recover wrong cased keywords starting functionsMaybe Waffle-1/+1
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