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/item.rs b/src/item.rs index 078c737..325710a 100644 --- a/src/item.rs +++ b/src/item.rs
@@ -947,7 +947,7 @@ || lookahead.peek(Token![crate]) || lookahead.peek(Token![extern]) { - let ident = input.call(Ident::parse_any2)?; + let ident = input.call(Ident::parse_any)?; if input.peek(Token![::]) { Ok(UseTree::Path(UsePath { ident: ident,