-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
ICE, &mut nickel::Request was subtype but now is not #36701
Comments
TimNN
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Sep 24, 2016
I've encountered a similar ICE with the latest stable:
The problem arised while trying to sort out some trait constraints, apparently adding a |
arielb1
added a commit
to arielb1/rust
that referenced
this issue
Nov 9, 2017
Normalizing method signatures can unify inference variables, which can cause receiver unification to fail. Unify the receivers first to avoid that. Fixes rust-lang#36701. Fixes rust-lang#45801. Fixes rust-lang#45855.
bors
added a commit
that referenced
this issue
Nov 13, 2017
check::method - unify receivers before normalizing method signatures Normalizing method signatures can unify inference variables, which can cause receiver unification to fail. Unify the receivers first to avoid that. Fixes #36701. Fixes #45801. Fixes #45855. r? @eddyb beta-nominating because #43880 made this ICE happen in more cases (the code in that issue ICEs post-#43880 only, but the unit test here ICEs on all versions).
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Nov 14, 2017
check::method - unify receivers before normalizing method signatures Normalizing method signatures can unify inference variables, which can cause receiver unification to fail. Unify the receivers first to avoid that. Fixes rust-lang#36701. Fixes rust-lang#45801. Fixes rust-lang#45855. r? @eddyb beta-nominating because rust-lang#43880 made this ICE happen in more cases (the code in that issue ICEs post-rust-lang#43880 only, but the unit test here ICEs on all versions).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting an internal compiler error with this code.
My repro involves a couple of other packages; here's the
Cargo.toml
:And here's
main.rs
:I don't claim the code should compile cleanly (I encountered the bug originally when fiddling around with generic params I didn't fully understand), but I get a compiler panic. Here's the output from
cargo run --verbose
:Meta
rustc version --verbose
:Backtrace:
Possibly-related closed issues: #17033, #13847, #13202, #20791
The text was updated successfully, but these errors were encountered: