about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/path.rs
AgeCommit message (Expand)AuthorLines
2025-08-22Rewrite the new attribute parserJonathan Brouwer-2/+2
2025-08-14Add FnContext in parser for diagnosticxizheyin-2/+10
2025-08-09remove `P`Deadbeef-5/+4
2025-08-05Added checks for attribute in type caseKivooeo-3/+28
2025-06-26Add Ident::is_non_reserved_identMichael Goulet-5/+3
2025-05-07Use `parse_param_general` when parsing `(T, U)->R` in `parse_path_segment`xizheyin-2/+27
2025-04-24Revert overzealous parse recovery for single colonsLeón Orell Valerian Liehr-13/+7
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-7/+4
2025-04-16Remove old diagnostic notes for type ascription syntaxZalathar-2/+0
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-2/+2
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-4/+1
2025-03-01Rollup merge of #137824 - estebank:rtn-sugg, r=compiler-errorsMatthias Krüger-1/+4
2025-02-28Tweak invalid RTN errorsEsteban Küber-1/+4
2025-02-28Remove `NtPath`.Nicholas Nethercote-3/+7
2025-02-21Avoid snapshotting the parser in `parse_path_inner`.Nicholas Nethercote-9/+6
2025-02-21Remove `NtTy`.Nicholas Nethercote-8/+9
2025-02-15Try to recover from path sep error in parseryukang-2/+13
2025-02-08Rustfmtbjorn3-11/+13
2024-12-20Reduce the amount of explicit FatalError.raise()bjorn3-2/+1
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-18/+16
2024-12-19Rename `Parser::expected_tokens` as `Parser::expected_token_types`.Nicholas Nethercote-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-24parse guard patternsNadrieril-1/+1
2024-11-24refactor pat parser method names/doc-comments to agree with RFC 3637Max Niederman-1/+1
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-14/+12
2024-09-21Parser: recover from `:::` to `::`Pavel Grigorenko-7/+18
2024-09-11Simplify some nested if statementsMichael Goulet-6/+6
2024-08-26Don't make pattern nonterminals match statement nonterminalsMichael Goulet-1/+4
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-10/+2
2024-08-16Overhaul token collection.Nicholas Nethercote-1/+1
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-4/+4
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-1/+2
2024-07-29Mark Parser::eat/check methods as must_useMichael Goulet-1/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+8
2024-07-12Use more accurate span for `:` to `::` suggestionEsteban Küber-0/+2
2024-06-28Change RTN to use .. againMichael Goulet-21/+6
2024-06-19Refactor `parse_expr_res`.Nicholas Nethercote-1/+2
2024-06-06Reduce `pub` exposure.Nicholas Nethercote-1/+1
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-18/+15
2024-05-15delegation: Implement list delegationVadim Petrochenkov-2/+5
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-1/+1
2024-05-11ignore generics args in attribute pathsbohan-7/+12
2024-04-23parser: remove ununsed(no reads) max_angle_bracket_count fieldklensy-1/+0
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-9/+9
2024-03-23Suggest assoc ty bound on lifetime in eq constraintLeón Orell Valerian Liehr-6/+18
2024-03-20Rollup merge of #122540 - WaffleLapkin:ununexpected, r=estebankMatthias Krüger-1/+1
2024-03-19Auto merge of #122055 - compiler-errors:stabilize-atb, r=oli-obkbors-2/+0
2024-03-15Make `unexpected` always "return" `PResult<()>` & add `unexpected_any`Maybe Waffle-1/+1
2024-03-12Fix ICE in diagnostics for parenthesized type argumentsDaniel Sedlak-21/+31