SkylerLipthay / interpolate_idents

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

Broken on nightly #46

Closed gnzlbg closed 5 years ago

gnzlbg commented 5 years ago

The crate has been broken since the 2018-11-05 nightly with:

$ cargo test
   Compiling interpolate_idents v0.2.8 (/home/travis/build/SkylerLipthay/interpolate_idents)
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
  --> src/parser_any_macro.rs:68:54
   |
68 |         let ret = panictry!(self.parser.borrow_mut().parse_pat());
   |                                                      ^^^^^^^^^ expected 1 parameter
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
  --> src/parser_any_macro.rs:68:54
   |
68 |         let ret = panictry!(self.parser.borrow_mut().parse_pat());
   |                                                      ^^^^^^^^^ expected 1 parameter
error: aborting due to previous error
For more information about this error, try `rustc --explain E0061`.
error: aborting due to previous error
For more information about this error, try `rustc --explain E0061`.
error: Could not compile `interpolate_idents`.
warning: build failed, waiting for other jobs to finish...
error: Could not compile `interpolate_idents`.

I'll prepare a fix. In the mean time, those running into this should give the paste crate a try - see this announcement: https://github.com/SkylerLipthay/interpolate_idents/issues/45

gnzlbg commented 5 years ago

The latest release fixed this issue (0.2.9)