Use proc-macro for TokenTree.
This commit is contained in:
parent
7e411e7f55
commit
4d1674f620
2 changed files with 2 additions and 21 deletions
|
@ -34,6 +34,7 @@ pub enum BinOpToken {
|
|||
|
||||
/// A delimiter token.
|
||||
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
|
||||
#[derive(HashStable_Generic)]
|
||||
pub enum DelimToken {
|
||||
/// A round parenthesis (i.e., `(` or `)`).
|
||||
Paren,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue