Lint against misplaced where-clauses on assoc tys in traits
This commit is contained in:
parent
71f71a5397
commit
b809207dec
10 changed files with 81 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue