about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
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
2022-04-07Shrink `Nonterminal`.Nicholas Nethercote-8/+8
2022-04-06Stop flagging certain inner attrs as outer onesLeón Orell Valerian Liehr-11/+15
2022-04-05errors: implement fallback diagnostic translationDavid Wood-17/+25
2022-04-05span: move `MultiSpan`David Wood-5/+5
2022-04-05errors: introduce `DiagnosticMessage`David Wood-1/+2
2022-04-03Auto merge of #88672 - camelid:inc-parser-sugg, r=davidtwcobors-1/+237
2022-04-02Auto merge of #95590 - GuillaumeGomez:multi-line-attr-handling-doctest, r=not...bors-0/+4
2022-04-02Fix doctest multi-line mod attributes handlingGuillaume Gomez-0/+4
2022-04-01Rollup merge of #95293 - compiler-errors:braces, r=davidtwcoMatthias Krüger-11/+7
2022-03-30Addressed comments by @compiler-errors and @bjorn3Yuri Astrakhan-1/+1
2022-03-30Spellchecking compiler commentsYuri Astrakhan-3/+3
2022-03-30Rollup merge of #95461 - nyurik:spelling, r=lcnrDylan DPC-5/+5
2022-03-30Spellchecking some commentsYuri Astrakhan-5/+5
2022-03-28Rollup merge of #95318 - rust-lang:notriddle/issue-95208, r=wesleywiserDylan DPC-0/+29
2022-03-28Rollup merge of #95301 - nnethercote:rm-NtTT, r=petrochenkovDylan DPC-13/+24
2022-03-28Remove `Nonterminal::NtTT`.Nicholas Nethercote-13/+24
2022-03-27Fix from rebaseNoah Lev-5/+5
2022-03-27Handle `,` to `;` substitution in arg paramsEsteban Kuber-0/+17
2022-03-27Provide suggestion for missing `>` in a type parameter listEsteban Kuber-1/+17
2022-03-26Stablize `const_extern_fn` for "Rust" and "C"Aaron Hill-0/+3
2022-03-25diagnostics: correct generic bounds with doubled colonMichael Howell-0/+29
2022-03-24suggest wrapping single-expr blocks in square bracketsMichael Goulet-11/+7
2022-03-23Fix rustfix panic on testNoah Lev-1/+1
2022-03-23Use `multipart_suggestions`Noah Lev-48/+54
2022-03-23Change temporary variable name if it would conflictNoah Lev-7/+4
2022-03-23Make `standalone` an enumNoah Lev-13/+25