about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
AgeCommit message (Expand)AuthorLines
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
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-26/+26
2022-04-27Avoid producing `NoDelim` values in `TokenCursorFrame`.Nicholas Nethercote-21/+13
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-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