Skip to content

Nightly compiler error - Early bound region when generalizing #34872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andrey-gvrd opened this issue Jul 16, 2016 · 2 comments
Closed

Nightly compiler error - Early bound region when generalizing #34872

andrey-gvrd opened this issue Jul 16, 2016 · 2 comments

Comments

@andrey-gvrd
Copy link

andrey-gvrd commented Jul 16, 2016

Building xml-rs crate fails with:

error: internal compiler error: ../src/librustc/infer/combine.rs:348: Encountered early bound region when generalizing: ReEarlyBound(TypeSpace, 0, 'a)
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'Box<Any>', ../src/librustc_errors/lib.rs:580

Reproduction steps:

git clone https://github.com/netvl/xml-rs
cd xml-rs
rustup toolchain add nightly-2016-07-15
rustup override add nightly-2016-07-15
cargo build

I'm using rust 1.12-nightly (4db1874 2016-07-15).

@TimNN
Copy link
Contributor

TimNN commented Jul 17, 2016

This looks like #34839 and should be fixed in the next nightly.

@alexcrichton
Copy link
Member

(nightly is out)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants