about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/generics.rs
AgeCommit message (Expand)AuthorLines
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
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-04-30Save colon span to suggest bounds.Camille GILLOT-4/+9
2022-03-25diagnostics: correct generic bounds with doubled colonMichael Howell-0/+1
2022-03-23replace `this.clone()` with `this.create_snapshot_for_diagnostic()`Takayuki Maeda-2/+2
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-1/+1
2022-02-03compiler: clippy::complexity fixesMatthias Krüger-1/+1
2022-02-02better suggestion for duplicated `where`Michael Goulet-2/+16
2021-12-10remove feature gate and cleanup codeEllen-14/+3
2021-12-05Rollup merge of #90022 - hkmatsumoto:self-upper-as-generic-parameter, r=jackh726Matthias Krüger-0/+13
2021-11-24Account for incorrect `impl Foo<const N: ty> {}` syntaxEsteban Küber-1/+4
2021-10-19Explain why `Self` is invalid in generic parametersHirochika Matsumoto-0/+13
2021-02-13Require passing an `AttrWrapper` to `collect_tokens_trailing_token`Aaron Hill-59/+80
2021-01-01make `const_generics_defaults` use the unstable syntax mechanismRémy Rakic-3/+14
2021-01-01first pass at default values for const genericsJulian Knodt-1/+4
2020-12-26stabilize min_const_genericsBastian Kauschke-3/+1
2020-12-03Gracefully handle confusing -> with : in function return typemibac138-1/+1
2020-08-30mv compiler to compiler/mark-0/+292