-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Regression in nightly-2020-07-22: collection encountered polymorphic constant #74614
Comments
I think the culprit PR is #69749 (and this is the first failure of "Polymorphization"), cc @davidtwco |
Same bug encountered here: deltachat/deltachat-core-rust#1743 |
Huh the code that emits the ICE is kind of broken in terms of user expectations: rust/src/librustc_mir/monomorphize/collector.rs Lines 625 to 631 in 4825e12
It found a constant IMO it should print the constant (as part of the message), but use the use site span as the ICE span. Printing the |
Assigning |
This commit adds a regression test for rust-lang#74614 so that it is fixed before polymorphisation is re-enabled. Signed-off-by: David Wood <david@davidtw.co>
polymorphize GlobalAlloc::Function this sadly does not change rust-lang#74614 r? @eddyb
This reverts commit 2fa9c25.
The widely used
reqwest
crate began failing to compile in nightly-2020-07-22. To reproduce, clone https://github.com/seanmonstar/reqwest/tree/69288606bcf648967ddd09000f06e88161f80a2f and runcargo build
.Note the error is presented on tokio-0.2.22 but that crate compiles fine by itself. Running
cargo build
again indicates it's onlyreqwest
being compiled when the ICE occurs.Complete error and backtrace
The text was updated successfully, but these errors were encountered: