about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/generics.rs
AgeCommit message (Expand)AuthorLines
2025-08-16Clean up parsers related to generic boundsLeón Orell Valerian Liehr-4/+7
2025-08-09remove `P`Deadbeef-4/+2
2025-07-03Replace kw_span by full span.Camille GILLOT-2/+12
2025-06-26Better recoveryMichael Goulet-0/+14
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-3/+2
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-26/+39
2025-02-10Stop using span hack for contracts feature gatingMichael Goulet-12/+2
2025-02-03Rename rustc_contract to contractCelina G. Val-6/+6
2025-02-03Separate contract feature gates for the internal machineryFelix S. Klock II-3/+17
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-0/+22
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-16/+17
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-32/+30
2024-09-27Add suggestion for removing invalid path separator `::` in function definition.surechen-0/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-16Overhaul token collection.Nicholas Nethercote-82/+76
2024-08-16Convert a bool to `Trailing`.Nicholas Nethercote-5/+5
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-1/+1
2024-07-29Mark Parser::eat/check methods as must_useMichael Goulet-1/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+8
2024-07-18Remove `TrailingToken`.Nicholas Nethercote-6/+6
2024-06-28Move binder and polarity parsing into parse_generic_ty_boundMichael Goulet-1/+1
2024-06-17Rework precise capturing syntaxMichael Goulet-1/+1
2024-04-15Parsing , pre-lowering support for precise capturesMichael Goulet-1/+1
2024-03-15Make `unexpected` always "return" `PResult<()>` & add `unexpected_any`Maybe Waffle-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2024-02-02Remove unnecessary `.to_string()`/`.as_str()`strevyn-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-1/+1
2024-01-08Remove a third `DiagnosticBuilder::emit_without_consuming` call.Nicholas Nethercote-1/+0
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-11/+12
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-8/+8
2023-12-24Remove `Parser` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+2
2023-12-01Tweak unclosed generics errorsEsteban Küber-1/+1
2023-07-23fix couple of clippy findings:Matthias Krüger-1/+1
2023-05-28Recover upon encountering mistyped `Const` in const param def许杰友 Jieyou Xu (Joe)-0/+44
2023-05-15Recover `impl<T ?Sized>` correctlyMichael Goulet-0/+5
2023-05-02Implement negative boundsMichael Goulet-2/+2
2023-04-25Fix static string lintsclubby789-28/+9
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-3/+3
2023-02-21Use `ThinVec` in `ast::WhereClause`.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in `ast::Generics` and related types.Nicholas Nethercote-3/+4
2023-02-04Recover from default value for a lifetime in generic parameters.Lenko Donchev-1/+16
2023-02-01rustc_parse: migrate more to diagnostic structsXiretza-17/+12
2023-01-11parser: recover from where clauses placed before tuple struct bodiesLeón Orell Valerian Liehr-10/+108
2022-10-08fix #102182, recover from impl Trait in type param boundyukang-2/+34
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-8/+6
2022-08-16Remove `{ast,hir}::WhereEqPredicate::id`.Nicholas Nethercote-1/+0
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-1/+1