about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2022-05-16keep bounds where they wereChristian Poveda-2/+1
2022-05-16migrate `maybe_recover_from_bad_type_plus` diagnosticChristian Poveda-25/+48
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-10/+8
2022-05-11Rollup merge of #96543 - nnethercote:rm-make_token_stream-hacks, r=Aaron1011Yuki Okushi-40/+1
2022-05-11Remove some unnecessary invisible delimiter checks.Nicholas Nethercote-2/+1
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-19/+20
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-10/+3
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-10/+3
2022-05-02fix most compiler/ doctestsElliot Roberts-19/+20
2022-05-02Fix invalid keyword order for function declarationsKen Matsui-2/+2
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-0/+21
2022-04-30Save colon span to suggest bounds.Camille GILLOT-4/+9
2022-04-29Remove hacks in `make_token_stream`.Nicholas Nethercote-38/+0
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-11/+11
2022-04-28Rollup merge of #96433 - petrochenkov:delim, r=nnethercoteDylan DPC-218/+223
2022-04-28Rollup merge of #96405 - pvdrz:ambiguous-plus-diagnostic, r=davidtwcoDylan DPC-9/+12
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-218/+223
2022-04-28Rollup merge of #96421 - nnethercote:less-NoDelim, r=petrochenkovDylan DPC-50/+50
2022-04-27rename `sum_with_parens`Christian Poveda-6/+3
2022-04-27Avoid producing `NoDelim` values in `FrameData`.Nicholas Nethercote-12/+15
2022-04-27Avoid producing `NoDelim` values in `MacArgs::delim()`.Nicholas Nethercote-16/+20
2022-04-27Avoid producing `NoDelim` values in `TokenCursorFrame`.Nicholas Nethercote-22/+15
2022-04-26move `AmbigousPlus` outsideChristian Poveda-9/+10
2022-04-26avoid `format!`Christian Poveda-2/+2
2022-04-25remove old codeChristian Poveda-9/+0
2022-04-25migrate ambiguous plus diagnosticChristian Poveda-9/+23
2022-04-23Better handle too many `#` recovery in raw strEsteban Küber-9/+34
2022-04-21Introduced `Cursor::next_with_spacing_ref`.Nicholas Nethercote-5/+5
2022-04-21Produce `CloseDelim` and pop the stack at the same time.Nicholas Nethercote-27/+34
2022-04-21Avoid some tuple destructuring.Nicholas Nethercote-5/+7
2022-04-20Remove `Eof` sanity check in `Parser::inlined_bump_with`.Nicholas Nethercote-6/+0
2022-04-20Inline `Parser::nonterminal_may_begin_with`.Nicholas Nethercote-2/+4
2022-04-20Inline `Parser::parse_nonterminal`.Nicholas Nethercote-1/+3
2022-04-20Only record `fallback_span` when necessary.Nicholas Nethercote-1/+1
2022-04-20Remove the loop from `Parser::bump()`.Nicholas Nethercote-29/+34
2022-04-20Remove `TokenCursorFrame::open_delim`.Nicholas Nethercote-20/+5
2022-04-20Use `true` for `open_delim`/`close_delim` in one spot.Nicholas Nethercote-2/+2
2022-04-20Add a size assertion for `Parser`.Nicholas Nethercote-0/+5
2022-04-20Move desugaring code into its own function.Nicholas Nethercote-67/+60
2022-04-19Handle `Delimited` opening immediately.Nicholas Nethercote-1/+3
2022-04-19Add {open,close}_delim arguments to `TokenCursorFrame::new()`.Nicholas Nethercote-12/+13
2022-04-19Rearrange `TokenCursor::inlined_next()`.Nicholas Nethercote-17/+20
2022-04-19Merge `TokenCursor::{next,next_desugared}`.Nicholas Nethercote-85/+71
2022-04-19Inline and remove `Parser::next_tok()`.Nicholas Nethercote-32/+26
2022-04-19Inline and remove `TokenTree::{open_tt,close_tt}`.Nicholas Nethercote-2/+2
2022-04-17Rollup merge of #95346 - Aaron1011:stablize-const-extern-fn, r=pnkfelixDylan DPC-0/+3
2022-04-16Rollup merge of #94985 - dtolnay:constattr, r=pnkfelixDylan DPC-2/+2
2022-04-12use `to_string` instead of `format!`Takayuki Maeda-1/+1
2022-04-10better error for binder on associated type boundMichael Goulet-12/+36
2022-04-07Auto merge of #95715 - nnethercote:shrink-Nonterminal, r=davidtwcobors-8/+8