about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
AgeCommit message (Expand)AuthorLines
2024-07-12Remove the bogus special case from `Parser::look_ahead`.Nicholas Nethercote-35/+2
2024-07-09Move `Spacing` into `FlatToken`.Nicholas Nethercote-1/+1
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-9/+8
2024-07-07Simplify `ReplaceRange`.Nicholas Nethercote-2/+2
2024-07-02Shrink parser positions from `usize` to `u32`.Nicholas Nethercote-3/+3
2024-06-20Properly gate `safe` keyword in pre-expansionMichael Goulet-0/+3
2024-06-19Auto merge of #126678 - nnethercote:fix-duplicated-attrs-on-nt-expr, r=petroc...bors-11/+0
2024-06-19Refactor `parse_expr_res`.Nicholas Nethercote-11/+0
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-1/+1
2024-06-17Make parse_seq_to_before_tokens take expected/nonexpected tokens, use in pars...Michael Goulet-23/+16
2024-06-07Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorinoMatthias Krüger-21/+22
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-5/+8
2024-06-06Reduce `pub` exposure.Nicholas Nethercote-21/+22
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-0/+2
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-8/+5
2024-05-17Rename Unsafe to SafetySantiago Pastorino-5/+5
2024-05-14Remove `NtIdent` and `NtLifetime`.Nicholas Nethercote-0/+6
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-20/+8
2024-05-09Add `ErrorGuaranteed` to `Recovered::Yes` and use it more.Nicholas Nethercote-18/+4
2024-05-08Auto merge of #124779 - workingjubilee:debug-formatting-my-beloved, r=compile...bors-9/+53
2024-05-07compiler: add `Parser::debug_lookahead`Jubilee Young-0/+41
2024-05-07compiler: derive Debug in parserJubilee Young-8/+11
2024-05-05compiler: Privatize `Parser::current_closure`Jubilee Young-1/+1
2024-05-06Move some tests from `rustc_expand` to `rustc_parse`.Nicholas Nethercote-0/+14
2024-04-24Stabilise `inline_const`Gary Guo-2/+0
2024-04-23Rollup merge of #124169 - compiler-errors:parser-fatal, r=oli-obkMatthias Krüger-0/+1
2024-04-23parser: remove ununsed(no reads) max_angle_bracket_count fieldklensy-3/+0
2024-04-19Don't fatal when calling expect_one_of when recovering arg in parse_seqMichael Goulet-0/+1
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-16Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercoteLeón Orell Valerian Liehr-2/+2
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-2/+2
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-6/+10
2024-03-21Rollup merge of #122752 - nnethercote:Interpolated-cleanups, r=petrochenkovMatthias Krüger-11/+25
2024-03-21Auto merge of #122718 - workingjubilee:eyeliner-for-contrast, r=lcnrbors-0/+13
2024-03-21Streamline `NamedMatch`.Nicholas Nethercote-4/+17
2024-03-21Use better variable names in some `maybe_whole!` calls.Nicholas Nethercote-1/+1
2024-03-21Use `maybe_whole!` to streamline `parse_item_common`.Nicholas Nethercote-6/+7
2024-03-19Inline conditionals in the parserJubilee Young-0/+13
2024-03-15Make `unexpected` always "return" `PResult<()>` & add `unexpected_any`Maybe Waffle-2/+12
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-9/+9
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-3/+3
2024-02-20Add newtype for trailing in parserclubby789-8/+14
2024-02-20Add newtype for parser recoveryclubby789-12/+25
2024-02-20Add newtype for raw identsclubby789-4/+5
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-1/+1
2024-01-28Handle methodcalls & operators in patternsLieselotte-0/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-3/+3
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-4/+3