SkylerLipthay / interpolate_idents

Useable macro identifier concatenation plugin for Rust (deprecated)
MIT License
42 stars 10 forks source link

Failing on nightly #30

Closed joshlf closed 6 years ago

joshlf commented 6 years ago

interpolate_idents is failing on today's nightly. See, e.g., the error from this Travis build:

error[E0599]: no variant named `Underscore` found for type `syntax::parse::token::Token` in the current scope
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/interpolate_idents-0.2.2/src/lib.rs:39:52
   |
39 |                         TokenTree::Token(ref span, Token::Underscore) => {
   |                                                    ^^^^^^^^^^^^^^^^^ variant not found in `syntax::parse::token::Token`
mb1986 commented 6 years ago

I think that I've found a problem. There was a commit removing Underscore token. Currently underscore character is treated as Ident. I've made a PR.

SkylerLipthay commented 6 years ago

0.2.3 has been released. Thank you both!