-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE: can't type-check body: glacier fixed/78721.rs #79099
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
lol, this crashes stable rustc compilers all the way down to @rustbot modify labels: +regression-from-stable-to-stable |
The ICE happens since 1.42 |
After further review, I can confirm that this does cause an ICE with rustc 1.50.0-nightly (1f5bc17 2020-12-19) on macOS 10.15. However, both the playground, running 1.50.0-nightly (2020-12-03 5be3f9f) as of this comment, and (for some weird reason) running glacier locally do not cause an ICE. I will note this in an upcoming PR to glacier. |
Locally running `cargo run` and running `rustc` directly produced different results. Issue: rust-lang/rust#79099
Assigning |
Was going to report this but it looks like a duplicate of this bug. In any case, here's a different reproducer: #![feature(impl_trait_in_bindings)]
const _: impl Fn() = async { 0 };
fn main() {} Compiler output
|
…sts, r=oli-obk Add regression tests for the impl_trait_in_bindings ICEs Closes rust-lang#54600, closes rust-lang#54840, closes rust-lang#58504, closes rust-lang#58956, closes rust-lang#70971, closes rust-lang#79099, closes rust-lang#84919, closes rust-lang#86201, closes rust-lang#86642, closes rust-lang#87295 r? `@oli-obk`
Uh oh!
There was an error while loading. Please reload this page.
Code
code from glacier
fixed/78721.rs
Meta
rustc --version --verbose
:Error output
rustc fixed/78721.rs
Backtrace
The text was updated successfully, but these errors were encountered: