-
Notifications
You must be signed in to change notification settings - Fork 13k
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 in recent rustc version #33436
Comments
cc @eddyb has Callee in trace. |
My guess is |
Getting the same ICE with |
Just bisected this and got
Surely it regressed during the trans refactoring, but as none of the intermediate commits is building it's not exactly sure which change is to blame though. Will help investigating further. |
I would try to fix this, already did one-liner fix in (EDIT: It's with stage1. Currently building stage2 and seeing if it can pass all tests. New to compiler writing and maintenance so kindly point out anything you feel like, thanks.) |
Fixes rust-lang#33436 and rust-lang#33461. Test case is from rust-lang#33461.
…=eddyb trans: callee: normalize trait_ref before use This fixes rust-lang#33436 and rust-lang#33461. Ran the tests and nothing else seems to be affected. P.S. How to write the regression test for this fix? Does this qualify as run-pass or run-make, as the test only needs to be successfully compiled to be considered passed? Will add the testcase (the minimal example in rust-lang#33461 seems fit) after clarifying this.
trans: callee: normalize trait_ref before use This fixes #33436 and #33461. Ran the tests and nothing else seems to be affected. P.S. How to write the regression test for this fix? Does this qualify as run-pass or run-make, as the test only needs to be successfully compiled to be considered passed? Will add the testcase (the minimal example in #33461 seems fit) after clarifying this.
Fixes rust-lang#33436 and rust-lang#33461. Test case is from rust-lang#33461.
I don't know whether this was already reported. I get an ICE when running
cargo test
on this Pippin version (also the previous commit, didn't test others).Compiler output
An older version works fine:
The text was updated successfully, but these errors were encountered: