This commit is contained in:
Aleksey Kladov 2020-04-10 17:47:49 +02:00
parent 5c5bde47fb
commit c476742f47
3 changed files with 3 additions and 20 deletions

View file

@ -568,7 +568,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
params: [Param],
T![')']
}
struct SelfParam: TypeAscriptionOwner, AttrsOwner { T![&], T![lifetime], T![self] }
struct SelfParam: TypeAscriptionOwner, AttrsOwner { T![&], T![mut], T![lifetime], T![self] }
struct Param: TypeAscriptionOwner, AttrsOwner {
Pat,
T![...]