about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-9/+40
2024-07-15Rollup merge of #127407 - estebank:parser-suggestions, r=oli-obkMatthias Krüger-195/+365
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-68/+51
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-12Make `;` suggestions inlineEsteban Küber-3/+3
2024-07-12fix unused bindingEsteban Küber-1/+1
2024-07-12More accurate incorrect use of `await` suggestionEsteban Küber-19/+22
2024-07-12Use more accurate span for `:` to `::` suggestionEsteban Küber-1/+5
2024-07-12Make `impl` and `!` removal suggestion `short`Esteban Küber-2/+2
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-181/+344
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-10Auto merge of #127419 - trevyn:issue-125446, r=fee1-deadbors-54/+89
2024-07-10Use `cfg_attr` as a name more.Nicholas Nethercote-3/+3
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
2024-07-08Clear `inner_attr_ranges` regularly.Nicholas Nethercote-8/+3
2024-07-08Add suggestions for possible missing `fn`, `struct`, or `enum` keywordstrevyn-54/+89
2024-07-07Remove `Clone` derive from `LazyAttrTokenStreamImpl`.Nicholas Nethercote-1/+0
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-24/+22
2024-07-07Simplify `ReplaceRange`.Nicholas Nethercote-24/+21
2024-07-05Remove some unnecessary integer conversions.Nicholas Nethercote-5/+3
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-29/+6
2024-07-02Import `std::{iter,mem}`.Nicholas Nethercote-11/+10
2024-07-02Rename `make_token_stream`.Nicholas Nethercote-6/+6
2024-07-02Shrink parser positions from `usize` to `u32`.Nicholas Nethercote-15/+12
2024-07-02Move more things around in `collect_tokens_trailing_token`.Nicholas Nethercote-23/+18
2024-07-02Move things around in `collect_tokens_trailing_token`.Nicholas Nethercote-7/+7
2024-07-02Flip an if/else in `AttrTokenStream::to_attr_token_stream`.Nicholas Nethercote-3/+3
2024-07-02Fix comment.Nicholas Nethercote-3/+3
2024-07-02Fix a typo in a comment.Nicholas Nethercote-1/+1
2024-06-29Rollup merge of #127103 - compiler-errors:tighten-trait-bound-parsing, r=fmeaseMatthias Krüger-40/+62
2024-06-28Move binder and polarity parsing into parse_generic_ty_boundMichael Goulet-40/+62
2024-06-28Change RTN to use .. againMichael Goulet-29/+6
2024-06-27Tighten spans for async blocksMichael Goulet-2/+3
2024-06-27Rollup merge of #126571 - nnethercote:less-maybe_whole-expr-2, r=petrochenkovJacob Pratt-32/+41
2024-06-26Fix a span in `parse_ty_bare_fn`.Nicholas Nethercote-1/+1
2024-06-25Inline and remove `maybe_whole_expr!`.Nicholas Nethercote-32/+41