Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upICE with cross-crate projection #37291
Comments
TimNN
added
I-ICE
T-compiler
regression-from-stable-to-stable
labels
Oct 20, 2016
This comment has been minimized.
This comment has been minimized.
|
Regression from 1.9.0 to 1.10.0. Requires the ice'ing code to be in a separate crate. |
This comment has been minimized.
This comment has been minimized.
|
This was introduced between I reduced the code some, although it can probably be reduced further, see https://gist.github.com/7cd880ff5d32b7de65c7910935d36d6e. |
This comment has been minimized.
This comment has been minimized.
|
Thanks @TimNN ! |
brson
added
I-nominated
P-high
E-help-wanted
labels
Oct 20, 2016
This comment has been minimized.
This comment has been minimized.
|
Reduced test cases wanted! Nominating to get eyes on my compiler team. |
This comment has been minimized.
This comment has been minimized.
|
@rust-lang/compiler Does this look like any known lifetime-related bug that you can think of? |
This comment has been minimized.
This comment has been minimized.
|
Nothing that jumps to mind. I can try to dig in a bit. |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the effort so far! I think this test case is easier to analyze: https://gist.github.com/physhh/0d4046b38940a309ce2b6e0ce516c4a9 Everytime I tried to further reduce the amount of types involved the ICE disappeared. |
This comment has been minimized.
This comment has been minimized.
|
@physhh: Nice work! I just remembered something I noticed while reducing the initial code: Commenting out either one of the |
nikomatsakis
self-assigned this
Oct 20, 2016
arielb1
changed the title
ICE while executing rustdoc test case
ICE with cross-crate projection
Oct 20, 2016
arielb1
removed
the
E-help-wanted
label
Oct 20, 2016
nikomatsakis
removed
the
I-nominated
label
Oct 20, 2016
This comment has been minimized.
This comment has been minimized.
|
Sorry for being slow to act on this. I am able to reproduce the problem. Investigating. |
physhh commentedOct 19, 2016
Running rustdoc all testcases for this crate fails with an ICE. The relevant testcase is currently disabled. To enable it go to
image/impl_core.rs:24and remove theignoremarker.rustc --version --verbose:This is the result of
cargo test:This fails on stable and nightly. I do not have time to create a reduced test case right now. Hope this helps anyway.