mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Separating parsing of for
in predicates and types
This commit is contained in:
parent
560b98bc50
commit
506e1ddbfa
12 changed files with 507 additions and 291 deletions
|
@ -1707,7 +1707,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
|||
/// ```
|
||||
///
|
||||
/// [Reference](https://doc.rust-lang.org/reference/items/generics.html#where-clauses)
|
||||
struct WherePred: TypeBoundsOwner { T![lifetime], TypeRef }
|
||||
struct WherePred: TypeBoundsOwner { T![for], TypeParamList, T![lifetime], TypeRef }
|
||||
|
||||
/// Where clause.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue