commit | 0dea1b9ba9546cc5fdfd3534c052657ccbeaf439 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Aug 30 17:47:29 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Aug 30 17:47:29 2018 -0700 |
tree | d426ae3a16791bde4c75f657e451ffa8cc561ba6 | |
parent | 9e95c31dcf5dfa6f84f0839f16f206fe955d0ff4 [diff] [blame] |
Replace old Ident::parse_any
diff --git a/src/expr.rs b/src/expr.rs index f53c916..d03d63f 100644 --- a/src/expr.rs +++ b/src/expr.rs
@@ -2645,7 +2645,7 @@ mutability: input.parse()?, ident: { let ident = if input.peek(Ident) || input.peek(Token![self]) { - input.call(Ident::parse_any2)? + input.call(Ident::parse_any)? } else { return Err(input.error("expected identifier or `self`")); };