Convert some token functions into methods
This commit is contained in:
parent
d8b1fa0ae0
commit
fcb78d65f2
9 changed files with 305 additions and 311 deletions
|
|
@ -82,7 +82,7 @@ impl PartialEq for Ident {
|
|||
//
|
||||
// On the other hand, if the comparison does need to be hygienic,
|
||||
// one example and its non-hygienic counterpart would be:
|
||||
// syntax::parse::token::mtwt_token_eq
|
||||
// syntax::parse::token::Token::mtwt_eq
|
||||
// syntax::ext::tt::macro_parser::token_name_eq
|
||||
fail!("not allowed to compare these idents: {}, {}. \
|
||||
Probably related to issue \\#6993", self, other);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue