Skip to content
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

[nll] When compiling hyper (0.11 branch): panicked at 'scrape_region_constraints #53187

Closed
sdroege opened this issue Aug 8, 2018 · 2 comments

Comments

@sdroege
Copy link
Contributor

sdroege commented Aug 8, 2018

This happens with https://github.com/hyperium/hyper/tree/0.11.x but not master when compiling with

RUSTFLAGS="-Zborrowck=mir -Ztwo-phase-borrows" cargo +nightly build --all
   Compiling hyper v0.11.27 (file:///home/slomo/Projects/rust/hyper)
thread 'main' panicked at 'scrape_region_constraints: incoming region obligations = [
    (
        NodeId(
            4242
        ),
        RegionObligation(sub_region=ReStatic, sup_type=B)
    )
]', librustc/traits/query/type_op/custom.rs:85:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: internal compiler error: unexpected panic

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

note: rustc 1.30.0-nightly (73c78734b 2018-08-05) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z borrowck=mir -Z two-phase-borrows -C debuginfo=2 -C incremental --crate-type lib

note: some of the compiler flags provided by cargo are hidden

error: Could not compile `hyper`.

To learn more, run the command again with --verbose.
@matthiaskrgr
Copy link
Member

Looks like #53182 / #52992

@sdroege
Copy link
Contributor Author

sdroege commented Aug 8, 2018

Indeed

@sdroege sdroege closed this as completed Aug 8, 2018
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

2 participants