-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE, possibly related to associated types of associated types? #36325
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I have reduced this to a self-contained file with around 50 LOC (and could probably go further but don't have the time right now): https://gist.github.com/cda11d74c476af7339d18a8bf37976e3 This reduced test case is fine on |
Compiling with |
This is a regression from stable to beta. Edit: with the latest test code (see below) this also reproduces on current stable (1.11) but not on 1.10, so a variation of this is also a regression from stable to stable. |
Actually, with slightly different code, this was introduced between cc @nikomatsakis: From the PR's merged in that period, I guess this was an effect of either #33998 or #33816. |
Cleaned up and slightly more minified version with (hopefully) meaningful names: https://gist.github.com/a8f9885c2bfd585dd8af9b6973cfd219 |
@pnkfelix assigned for initial investigation |
@pnkfelix any updates? |
@brson nothing to report yet; i did some preliminary investigation but need to get back to it. |
#37154 was introduced between the same nightlies |
Nominating for discussion with compiler team. P-high bug, no progress. |
Maybe #37294 already fixes this |
@jonas-schievink: A stage 1 build of #37294 does indeed seem to fix this issue as well. |
re-assigning to me since #37294 is my PR |
Fixed! Not backporting to 1.13 because the port is non-trivial. |
Uh oh!
There was an error while loading. Please reload this page.
(edit from @pnkfelix: if you're looking at this bug, make sure to skip ahead to the comments to see where people have posted links to self-contained reductions to reproduce the bug.)
To reproduce: on the latest nightly, clone https://github.com/elidupree/time-steward (commit ac2db9f6765eeb18692d8588162bc076c9f198c1) and run
cargo test
, but replace tests/paces.rs:85-88 with:When I did this, I got:
Meta
rustc --version --verbose
:rustc 1.13.0-nightly (923bac4 2016-09-06)
binary: rustc
commit-hash: 923bac4
commit-date: 2016-09-06
host: x86_64-unknown-linux-gnu
release: 1.13.0-nightly
The text was updated successfully, but these errors were encountered: