about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2022-12-05Rollup merge of #105223 - lukas-code:(ExprWithBlock), r=petrochenkovMatthias Krüger-14/+5
2022-12-03more commentsLukas Markeffsky-3/+4
2022-12-03suggest parenthesis around ExprWithBlock BinOp ExprWithBlockLukas Markeffsky-12/+2
2022-12-03Rollup merge of #104199 - SarthakSingh31:issue-97417-1, r=cjgillotMatthias Krüger-3/+7
2022-11-28Keep track of the start of the argument block of a closureSarthak Singh-3/+7
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-12/+15
2022-11-23Suggest `.clone()` or `ref binding` on E0382Esteban Küber-2/+3
2022-11-22`rustc_parse`: remove `ref` patternsMaybe Waffle-4/+4
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-1/+1
2022-11-19Cleanup macro matching recoveryNilstrieb-5/+0
2022-11-18Auto merge of #104573 - matthiaskrgr:rollup-k36ybtp, r=matthiaskrgrbors-2/+13
2022-11-18Rollup merge of #103405 - chenyukang:yukang/fix-103381-and-if, r=compiler-errorsMatthias Krüger-2/+13
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-17/+25
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