Description
(Please feel free to make the title more precise)
This issue was first reported as part of #65934, as it was first believed to be similar in nature. Please also see the discussion therein. However, it seems to be sufficiently different as to warrant its own issue.
Here is an example build log
I've created a relatively minimal testcase, and @WildCryptoFox helped me minimize it further. The testcase can be found here: https://github.com/Andlon/ice_testcase . The current rust-toolchain
file is set to nightly-2019-11-26
, but the bug manifests for a number of different version of nightly
(but not all!), as well as beta
, and before minification it was also present on stable
.
The conditions triggering the ICE seem to be very brittle: Changing features of dependencies or removing unused dependencies might make the ICE vanish. See also @WildCryptoFox's observations in the aforementioned issue #65934.