serde-deprecated / syntex

No longer maintained
113 stars 34 forks source link

Syntex failed to build on nightly channel #117

Open ikarienator opened 7 years ago

ikarienator commented 7 years ago
error[E0308]: mismatched types
   --> /Users/u689/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.32.0/src/ext/base.rs:487:33
    |
487 |                                 ext::quote::expand_quote_item));
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected concrete lifetime, found bound lifetime parameter 'cx
    |
    = note: expected type `fn(&'cx mut ext::base::ExtCtxt<'_>, codemap::Span, &[ast::TokenTree]) -> std::boxed::Box<ext::base::MacResult + 'cx>`
               found type `fn(&mut ext::base::ExtCtxt<'_>, codemap::Span, &[ast::TokenTree]) -> std::boxed::Box<ext::base::MacResult> {ext::quote::expand_quote_item::<'_>}`
    = note: lifetime parameter `'cx` declared on fn `ext::quote::expand_quote_item` appears only in the return type, but here is required to be higher-ranked, which means that `'cx` must appear in both argument and return types
    = note: this error is the result of a recent bug fix; for more information, see issue #33685 <https://github.com/rust-lang/rust/issues/33685>
dtolnay commented 7 years ago

Thanks for the report. Syntex is not being maintained at the moment (see #114) so I do not plan to fix this. Please consider switching to a different library if possible.

darthdeus commented 7 years ago

@ikarienator I assume you ran into this when installing racer completion for YouCompleteMe like I just did? If so, did you find any workaround?