1
Fork 0

Lint against misplaced where-clauses on assoc tys in traits

This commit is contained in:
León Orell Valerian Liehr 2023-07-11 01:11:21 +02:00
parent 71f71a5397
commit b809207dec
No known key found for this signature in database
GPG key ID: D17A07215F68E713
10 changed files with 81 additions and 21 deletions

View file

@ -4084,7 +4084,7 @@ declare_lint! {
///
/// ### Explanation
///
/// The preferred location for where clauses on associated types in impls
/// The preferred location for where clauses on associated types
/// is after the type. However, for most of generic associated types development,
/// it was only accepted before the equals. To provide a transition period and
/// further evaluate this change, both are currently accepted. At some point in