Separating parsing of for in predicates and types

This commit is contained in:
Matthew Jasper 2020-06-10 11:30:48 +01:00
parent 560b98bc50
commit 506e1ddbfa
12 changed files with 507 additions and 291 deletions

View file

@ -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.
///