SkylerLipthay / interpolate_idents

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

Compilation failure on nightly #23

Closed joshlf closed 7 years ago

joshlf commented 7 years ago

Output

error[E0615]: attempted to take value of method `hi` on type `&mut syntax::codemap::Span`
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/interpolate_idents-0.1.7/src/lib.rs:34:56
   |
34 |                                 Some(ref mut s) => { s.hi = span.hi; },
   |                                                        ^^
   |
   = help: maybe a `()` to call it is missing?
error[E0615]: attempted to take value of method `hi` on type `&syntax::codemap::Span`
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/interpolate_idents-0.1.7/src/lib.rs:34:66
   |
34 |                                 Some(ref mut s) => { s.hi = span.hi; },
   |                                                                  ^^
   |
   = help: maybe a `()` to call it is missing?

Misc

$ rustc --version
rustc 1.22.0-nightly (6f87d20a7 2017-09-29)