about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
AgeCommit message (Expand)AuthorLines
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
2022-08-02Rollup merge of #100011 - compiler-errors:let-chain-restriction, r=fee1-deadMatthias Krüger-5/+2
2022-08-01Use expr parse restrictions for let expr parsingMichael Goulet-5/+2
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-18/+22
2022-07-02ast: Add span to `Extern`Nixon Enraght-Moony-1/+10
2022-06-29Rollup merge of #98668 - TaKO8Ki:avoid-many-&str-to-string-conversions, r=Dyl...Matthias Krüger-7/+4
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-7/+4
2022-06-25[rustc_parse] Forbid lets in certain placesCaio-1/+5
2022-06-14Rollup merge of #95211 - terrarier2111:improve-parser, r=compiler-errorsYuki Okushi-0/+16
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-1/+1
2022-06-12Improves parser diagnostics, fixes #93867threadexception-0/+16
2022-05-21Merge crate and restricted visibilitiesJacob Pratt-18/+6
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-20/+4
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-3/+3
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-10/+3
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-10/+3
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-2/+2