about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2024-05-11Add classify::expr_is_completeDavid Tolnay-59/+3
2024-05-11Remove MacCall special cases from Parser::parse_full_stmtDavid Tolnay-9/+3
2024-05-11Remove MacCall special case from recovery after missing 'if' after 'else'David Tolnay-6/+28
2024-05-11Document MacCall special case in Parser::parse_armDavid Tolnay-0/+11
2024-05-11Document MacCall special case in Parser::expr_is_completeDavid Tolnay-7/+44
2024-05-11Mark Parser::expr_is_complete call sitesDavid Tolnay-5/+7
2024-05-11Macro call with braces does not require semicolon to be statementDavid Tolnay-7/+20
2024-05-11Mark expr_requires_semi_to_be_stmt call sitesDavid Tolnay-5/+6
2024-05-11Rollup merge of #124930 - compiler-errors:consume-arg, r=petrochenkov许杰友 Jieyou Xu (Joe)-1/+5
2024-05-11Rollup merge of #124318 - bvanjoi:fix-123911, r=petrochenkov许杰友 Jieyou Xu (Joe)-7/+12
2024-05-11ignore generics args in attribute pathsbohan-7/+12
2024-05-10Rollup merge of #124778 - fmease:fix-diag-msg-parse-meta-item, r=nnethercoteMatthias Krüger-26/+30
2024-05-10Fix parse error message for meta itemsLeón Orell Valerian Liehr-26/+30
2024-05-09Make sure we consume a generic arg when checking mistyped turbofishMichael Goulet-1/+5
2024-05-09Add `ErrorGuaranteed` to `Recovered::Yes` and use it more.Nicholas Nethercote-77/+60
2024-05-08Rollup merge of #123344 - pietroalbini:pa-unused-imports, r=NilstriebMatthias Krüger-2/+6
2024-05-08Auto merge of #124779 - workingjubilee:debug-formatting-my-beloved, r=compile...bors-9/+53
2024-05-07compiler: add `Parser::debug_lookahead`Jubilee Young-0/+41
2024-05-07compiler: derive Debug in parserJubilee Young-8/+11
2024-05-05compiler: Privatize `Parser::current_closure`Jubilee Young-1/+1
2024-05-06Move some tests from `rustc_expand` to `rustc_parse`.Nicholas Nethercote-0/+1615
2024-04-29Add StaticForeignItem and use it on ForeignItemKindSantiago Pastorino-1/+5
2024-04-24Auto merge of #104087 - nbdd0121:const, r=scottmcmbors-2/+0
2024-04-24Stabilise `inline_const`Gary Guo-2/+0
2024-04-24Auto merge of #122500 - petrochenkov:deleg, r=fmeasebors-5/+5
2024-04-23delegation: Support renamingVadim Petrochenkov-5/+5
2024-04-23Rollup merge of #124169 - compiler-errors:parser-fatal, r=oli-obkMatthias Krüger-0/+1
2024-04-23Rollup merge of #124284 - klensy:no-reads, r=fmeaseMatthias Krüger-4/+0
2024-04-23Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwcoMatthias Krüger-13/+19
2024-04-23parser: remove ununsed(no reads) max_angle_bracket_count fieldklensy-4/+0
2024-04-22Improve handling of expr->field errorsSasha Pourcelot-0/+6
2024-04-19Don't fatal when calling expect_one_of when recovering arg in parse_seqMichael Goulet-0/+1
2024-04-18Disallow ambiguous attributes on expressionsDominik Stolz-13/+19
2024-04-18Auto merge of #124008 - nnethercote:simpler-static_assert_size, r=Nilstriebbors-2/+2
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-2/+2
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-18/+16
2024-04-17Rollup merge of #124051 - dtolnay:emptyset, r=compiler-errorsMatthias Krüger-1/+1
2024-04-17Rollup merge of #122813 - nnethercote:nicer-quals, r=compiler-errorsMatthias Krüger-5/+2
2024-04-16Fix empty-set symbol in commentsDavid Tolnay-1/+1
2024-04-16Auto merge of #123468 - compiler-errors:precise-capturing, r=oli-obkbors-8/+51
2024-04-16Avoid unnecessary `rustc_span::DUMMY_SP` usage.Nicholas Nethercote-5/+2
2024-04-16Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercoteLeón Orell Valerian Liehr-26/+26
2024-04-15More polishingMichael Goulet-1/+3
2024-04-15Use a path instead of an ident (and stop manually resolving)Michael Goulet-2/+5
2024-04-15Validation and other thingsMichael Goulet-1/+1
2024-04-15Implement resolution, parse use<Self>Michael Goulet-1/+7
2024-04-15Use dedicated PreciseCapturingArg for representing what goes in use<>Michael Goulet-7/+23
2024-04-15Parsing , pre-lowering support for precise capturesMichael Goulet-6/+22
2024-04-14store the span of the nested part of the use tree in the astPietro Albini-2/+6
2024-04-11remove some things that do not need to beMatthias Krüger-2/+1