Invert implementations for TokenKind.
Also export a bunch of Token-related impls.
This commit is contained in:
parent
0073d3be97
commit
31298b41d6
5 changed files with 55 additions and 52 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue