about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
AgeCommit message (Expand)AuthorLines
2024-07-29Mark Parser::eat/check methods as must_useMichael Goulet-4/+15
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+7
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-2/+5
2024-07-19Auto merge of #127957 - matthiaskrgr:rollup-1u5ivck, r=matthiaskrgrbors-5/+5
2024-07-19Rollup merge of #127903 - nnethercote:force_collect-improvements, r=petrochenkovMatthias Krüger-5/+4
2024-07-19Rollup merge of #127350 - veera-sivarajan:bugfix-126311, r=lcnrMatthias Krüger-0/+1
2024-07-19Overhaul comments in `collect_tokens_trailing_token`.Nicholas Nethercote-0/+1
2024-07-19Make `Parser::num_bump_calls` 0-indexed.Nicholas Nethercote-0/+5
2024-07-19Simplify `CaptureState::inner_attr_ranges`.Nicholas Nethercote-1/+1
2024-07-19Remove an unnecessary `ForceCollect::Yes`.Nicholas Nethercote-5/+4
2024-07-18Parser: Suggest Placing the Return Type After Function ParametersVeera-0/+1
2024-07-18Remove `TrailingToken`.Nicholas Nethercote-11/+1
2024-07-16Remove references to `maybe_whole_expr`.Nicholas Nethercote-1/+0
2024-07-14Rollup merge of #127273 - nnethercote:fix-DebugParser, r=workingjubileeMatthias Krüger-8/+10
2024-07-13Rollup merge of #127558 - nnethercote:more-Attribute-cleanups, r=petrochenkovJubilee-1/+1
2024-07-13Fix `DebugParser`.Nicholas Nethercote-8/+10
2024-07-12Add a new special case to `Parser::look_ahead`.Nicholas Nethercote-0/+29
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