about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
AgeCommit message (Expand)AuthorLines
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-3/+3
2023-12-18Use `.into_diagnostic()` less.Nicholas Nethercote-6/+3
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-1/+1
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-17/+18
2023-12-11Improve `print_tts` by changing `tokenstream::Spacing`.Nicholas Nethercote-5/+12
2023-12-08Support async gen fnMichael Goulet-16/+23
2023-12-04Option<CoroutineKind>Eric Holk-8/+8
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-8/+16
2023-11-29Bubble parse error when expecting `)`Esteban Küber-0/+3
2023-11-17Auto merge of #114292 - estebank:issue-71039, r=b-naberbors-9/+11
2023-11-16Fix code indentationEsteban Küber-2/+2
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-9/+11
2023-11-15Re-format code with new rustfmtMark Rousskov-9/+9
2023-11-12Fix `is_keyword_ahead` visibilitysjwang05-1/+1
2023-11-10Correctly handle while-let-chainssjwang05-1/+1
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+1
2023-10-29Auto merge of #116447 - oli-obk:gen_fn, r=compiler-errorsbors-0/+11
2023-10-26Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 editionOli Scherer-0/+11
2023-10-25Avoid unbounded O(n^2) when parsing nested type argsEsteban Küber-2/+4
2023-10-13Format all the let chains in compilerMichael Goulet-8/+7
2023-10-03Detect missing `=>` after match guard during parsingEsteban Küber-0/+1
2023-09-11Move let expression checking to parsingMatthew Jasper-0/+1
2023-08-18Rename `NtOrTt` as `ParseNtResult`.Nicholas Nethercote-1/+1
2023-08-17Add some useful comments to `Parser::look_ahead`.Nicholas Nethercote-8/+23
2023-08-13Remove reached_eof from ParseSessbjorn3-13/+0
2023-08-03Remove `MacDelimiter`.Nicholas Nethercote-4/+2
2023-08-02Avoid an unnecessary local variable.Nicholas Nethercote-2/+1
2023-08-02Move `TokenCursor::break_last_token` into `Parser`.Nicholas Nethercote-31/+20
2023-08-02Move `TokenCursor::num_next_calls` into `Parser` and rename it.Nicholas Nethercote-8/+5
2023-08-02Inline and remove `parse_all_token_trees`.Nicholas Nethercote-10/+1
2023-08-02`parse_all_token_trees` cannot fail.Nicholas Nethercote-2/+2
2023-08-01Auto merge of #114273 - nnethercote:move-doc-comment-desugaring, r=petrochenkovbors-78/+13
2023-07-31Remove `desugar_doc_comments` arg from `Parser::new()`.Nicholas Nethercote-6/+1
2023-07-31Move doc comment desugaring out of `TokenCursor`.Nicholas Nethercote-73/+13
2023-07-31Fix a typo in a comment.Nicholas Nethercote-3/+3
2023-07-31Remove an unnecessary `return` keyword.Nicholas Nethercote-1/+1
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-3/+3
2023-07-26Add a comment to `TokenCursor::desugar_doc_comments`.Nicholas Nethercote-0/+3
2023-07-26Remove `desugar_doc_comments` arguments from `TokenCursor::{inlined_,}next`.Nicholas Nethercote-18/+23
2023-07-26Tweak `Parser::look_ahead`.Nicholas Nethercote-1/+1
2023-07-26Remove `Parser::desugar_doc_comments`.Nicholas Nethercote-3/+1
2023-07-19Fix inline_const with interpolated blockMichael Goulet-1/+2
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+3
2023-05-13fix(parse): return unpected when current token is EOFbohan-1/+3
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2
2023-05-01fix testsyukang-4/+3
2023-05-01fix parser sizeyukang-1/+1
2023-05-01Rip it outNilstrieb-11/+12
2023-04-27Migrate trivially translatable `rustc_parse` diagnosticsclubby789-10/+5
2023-04-04Use a simpler atomic operation than the `compare_exchange` hammerOli Scherer-3/+1