summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2024-07-19Remove `final_attrs` local variable.Nicholas Nethercote-4/+2
2024-07-19Simplify `CaptureState::inner_attr_ranges`.Nicholas Nethercote-5/+5
2024-07-19Only check `force_collect` in `collect_tokens_trailing_token`.Nicholas Nethercote-24/+21
2024-07-19Use `ForceCollect` in `parse_attr_item`.Nicholas Nethercote-5/+8
2024-07-19Don't always force collect tokens in `recover_stmt_local_after_let`.Nicholas Nethercote-6/+9
2024-07-19Remove an unnecessary `ForceCollect::Yes`.Nicholas Nethercote-5/+4
2024-07-18Parser: Suggest Placing the Return Type After Function ParametersVeera-32/+106
2024-07-18Rollup merge of #127835 - estebank:issue-127823, r=compiler-errorsMatthias Krüger-4/+1
2024-07-18Fix ICE in suggestion caused by `⩵` being recovered as `==`Esteban Küber-4/+1
2024-07-18Rollup merge of #127842 - nnethercote:rm-TrailingToken, r=petrochenkovTrevor Gross-89/+45
2024-07-18Remove `TrailingToken`.Nicholas Nethercote-89/+45
2024-07-18Rollup merge of #127889 - estebank:anon-arg-sugg, r=compiler-errorsMatthias Krüger-6/+6
2024-07-17Rollup merge of #127806 - nnethercote:parser-improvements, r=spastorinoTrevor Gross-120/+91
2024-07-18More accurate span for anonymous argument suggestionEsteban Küber-6/+6
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-9/+25
2024-07-16Remove references to `maybe_whole_expr`.Nicholas Nethercote-1/+0
2024-07-16Fix a comment.Nicholas Nethercote-1/+1
2024-07-16Inline and remove `Parser::parse_expr_dot_or_call_with_`.Nicholas Nethercote-53/+49
2024-07-16Inline and remove `Parser::parse_and_disallow_postfix_after_cast`.Nicholas Nethercote-13/+4
2024-07-16Reorder `Parser::parse_expr_dot_or_call_with` arguments.Nicholas Nethercote-5/+5
2024-07-16Inline `Parser::parse_item_common_`.Nicholas Nethercote-43/+32
2024-07-16Remove an unnecessary `?`.Nicholas Nethercote-8/+4
2024-07-15Rollup merge of #127407 - estebank:parser-suggestions, r=oli-obkMatthias Krüger-65/+86
2024-07-14Rollup merge of #127273 - nnethercote:fix-DebugParser, r=workingjubileeMatthias Krüger-70/+310
2024-07-13Rollup merge of #127558 - nnethercote:more-Attribute-cleanups, r=petrochenkovJubilee-65/+48
2024-07-13Rollup merge of #127477 - nnethercote:tweak-inner_attr_ranges, r=petrochenkovJubilee-8/+3
2024-07-13Fix `DebugParser`.Nicholas Nethercote-14/+104
2024-07-13Add a test for `Parser::debug_lookahead`.Nicholas Nethercote-0/+149
2024-07-13Change `look` from a macro to a function.Nicholas Nethercote-62/+63
2024-07-12Auto merge of #127636 - nnethercote:fix-Parser-look_ahead, r=oli-obkbors-30/+147
2024-07-12Add a new special case to `Parser::look_ahead`.Nicholas Nethercote-0/+29
2024-07-12Remove the bogus special case from `Parser::look_ahead`.Nicholas Nethercote-56/+28
2024-07-12Add unit tests for `Parser::look_ahead`.Nicholas Nethercote-0/+116
2024-07-12fix unused bindingEsteban Küber-1/+1
2024-07-12More accurate incorrect use of `await` suggestionEsteban Küber-11/+7
2024-07-12Use more accurate span for `:` to `::` suggestionEsteban Küber-0/+2
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-55/+78
2024-07-12Auto merge of #127382 - estebank:const-let, r=compiler-errorsbors-1/+1
2024-07-11Use verbose style when suggesting changing `const` with `let`Esteban Küber-1/+1
2024-07-11check is_ident before parse_identtrevyn-2/+2
2024-07-11And additionally enforce ? and async/const aren't mixedMichael Goulet-0/+29
2024-07-10Enforce that ? and for<...> are not combinedMichael Goulet-0/+13
2024-07-10Improve error messageMichael Goulet-0/+8
2024-07-10Reorder modifiers and polarity to be *after* binder in trait boundsMichael Goulet-2/+2
2024-07-10Auto merge of #127419 - trevyn:issue-125446, r=fee1-deadbors-49/+63
2024-07-10Change empty replace range condition.Nicholas Nethercote-15/+16
2024-07-09Move `Spacing` into `FlatToken`.Nicholas Nethercote-17/+13
2024-07-08Split the stack in `make_attr_token_stream`.Nicholas Nethercote-26/+17
2024-07-08Use iterator normally in `make_attr_token_stream`.Nicholas Nethercote-4/+2
2024-07-08Use an `@` pattern to shorten some code.Nicholas Nethercote-6/+3