Closed
Description
https://github.com/crlf0710/nametable
101 brian@ip-10-145-43-250:~/dev/nametable/nametable_codegen⟫ git log -1
commit 975458ae3780278128eac92e712a8ca8ab05fe05
Author: CrLF0710 <[email protected]>
Date: Wed Apr 27 19:16:19 2016 +0800
Bump versions.
brian@ip-10-145-43-250:/mnt2/dev⟫ rustc +beta -Vv
rustc 1.17.0-beta.1 (408d49e60 2017-03-14)
binary: rustc
commit-hash: 408d49e6087f87371e96277c5ff428fa22cb84e6
commit-date: 2017-03-14
host: x86_64-unknown-linux-gnu
release: 1.17.0-beta.1
LLVM version: 3.9
brian@ip-10-145-43-250:~/dev/nametable/nametable_codegen⟫ cargo +beta test
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading nametable v0.1.1
Downloading syntex_syntax v0.31.0
Downloading syntex v0.31.0
Downloading quasi v0.9.0
Downloading quasi_codegen v0.9.0
Downloading aster v0.15.0
Compiling nametable v0.1.1
Compiling winapi-build v0.1.1
Compiling rustc-serialize v0.3.23
Compiling unicode-xid v0.0.3
Compiling winapi v0.2.8
Compiling kernel32-sys v0.2.2
Compiling bitflags v0.5.0
Compiling log v0.3.7
Compiling libc v0.2.21
Compiling term v0.2.14
Compiling syntex_syntax v0.31.0
error[E0308]: mismatched types
--> /home/brian/.cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/syntex_syntax-0.31.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>
error: aborting due to previous error
error: Could not compile `syntex_syntax`.
To learn more, run the command again with --verbose.
cc @crlf0710