1
Fork 0

Invert implementations for TokenKind.

Also export a bunch of Token-related impls.
This commit is contained in:
Camille GILLOT 2019-11-10 18:24:37 +01:00
parent 0073d3be97
commit 31298b41d6
5 changed files with 55 additions and 52 deletions

View file

@ -2276,7 +2276,7 @@ impl rustc_serialize::Decodable for AttrId {
}
}
#[derive(Clone, RustcEncodable, RustcDecodable, Debug)]
#[derive(Clone, RustcEncodable, RustcDecodable, Debug, HashStable_Generic)]
pub struct AttrItem {
pub path: Path,
pub tokens: TokenStream,