about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
AgeCommit message (Expand)AuthorLines
2023-04-04Replace a lock with an atomicOli Scherer-2/+7
2023-03-20feat: implement error recovery in `expected_ident_found`Ezra Shaw-4/+9
2023-03-19refactor: refactor identifier parsing somewhatEzra Shaw-14/+13
2023-03-11Gate const closures even when they appear in macrosMichael Goulet-3/+7
2023-03-04Rollup merge of #108715 - chenyukang:yukang/cleanup-parser-delims, r=compiler...Matthias Krüger-14/+3
2023-03-03Remove unclosed_delims from parseryukang-14/+3
2023-03-03Match unmatched backticks in comments in compiler/est31-1/+1
2023-02-28rename unmatched_braces to unmatched_delimsyukang-5/+5
2023-02-23parser: provide better errors on closures with braces missingYutaro Ohno-1/+5
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-8/+9
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-15/+9
2023-02-03Rollup merge of #107551 - fee1-dead-contrib:rm_const_fnmut_helper, r=oli-obkMichael Goulet-5/+16
2023-02-03Rename `Cursor`/`CursorRef` as `TokenTreeCursor`/`RefTokenTreeCursor`.Nicholas Nethercote-5/+8
2023-02-03Remove `TokenCursorFrame`.Nicholas Nethercote-40/+32
2023-02-03Make clear that `TokenTree::Token` shouldn't contain a delimiter.Nicholas Nethercote-1/+7
2023-02-03Improve doc comment desugaring.Nicholas Nethercote-27/+21
2023-02-01fix parser mistaking const closures for const itemDeadbeef-5/+16
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2023-01-12parse const closuresDeadbeef-0/+10
2022-12-29fix comment for `TokenCursor::desugar`kraktus-1/+1
2022-12-28Rollup merge of #105570 - Nilstrieb:actual-best-failure, r=compiler-errorsMatthias Krüger-0/+4
2022-12-18avoid .into() conversion to identical typesMatthias Krüger-6/+2
2022-12-12Properly calculate best failure in macro matchingNilstrieb-0/+4
2022-12-01While parsing enum variant, the error message always disappearYiming Lei-0/+4
2022-11-22`rustc_parse`: remove `ref` patternsMaybe Waffle-6/+6
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-31/+32
2022-11-15Only do parser recovery on retried macro matchingNilstrieb-2/+2
2022-11-11Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebankbors-8/+50
2022-10-28Gate some recovery behind a flagNilstrieb-0/+1
2022-10-26Fix typonils-1/+1
2022-10-26Add documentationNilstrieb-1/+8
2022-10-25Add flag to forbid recovery in the parserNilstrieb-2/+21
2022-10-20fix assertion failed for break_last_token and trailing tokenyukang-0/+1
2022-10-03Add comments to `TokenCursor::desugar`.Nicholas Nethercote-1/+5
2022-10-01Replace some `bool` params with an enumMaybe Waffle-12/+13
2022-10-01Recover wrong cased keywords starting functionsMaybe Waffle-8/+22
2022-10-01recover wrong-cased `use`s (`Use`, `USE`, etc)Maybe Waffle-0/+27
2022-09-27Implement IntoDiagnosticArg for rustc_ast::token::Token(Kind)Xiretza-24/+17
2022-09-27Migrate "expected identifier" diagnostics to diagnostic structsXiretza-13/+35
2022-09-27Migrate more rustc_parse diagnostics to diagnostic structsXiretza-22/+10
2022-09-27Move rustc_parse diagnostic structs to separate moduleXiretza-1/+1
2022-09-27Migrate "invalid literal suffix" diagnostic to diagnostic structsXiretza-1/+3
2022-09-27Migrate more diagnostics in rustc_parse to diagnostic structsXiretza-27/+16
2022-09-09Rename `{Create,Lazy}TokenStream` as `{To,Lazy}AttrTokenStream`.Nicholas Nethercote-2/+2
2022-09-09Rename `AttrAnnotatedToken{Stream,Tree}`.Nicholas Nethercote-8/+8
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-23Remove the symbol from `ast::LitKind::Err`.Nicholas Nethercote-1/+1
2022-08-15Simplify attribute handling in `parse_bottom_expr`.Nicholas Nethercote-2/+6
2022-08-09Stringify non-shorthand visibility correctlyJacob Pratt-2/+10