Skip to content
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

ICE with `#![feature(existential_type)]` + closure #58951

Open
Centril opened this Issue Mar 5, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@Centril
Copy link
Contributor

Centril commented Mar 5, 2019

Encountered this when working on test cases for an RFC:

#![feature(existential_type)]

existential type A: Iterator;
fn def_a() -> A { 0..1 }
pub fn use_a() {
    def_a().map(|x| x);
}

cc @oli-obk

This seems related to other issues.

@oli-obk

This comment has been minimized.

Copy link
Contributor

oli-obk commented Mar 18, 2019

I'm confused. Either this was fixed since yesterday's nightly (it still ICEs on nightly but works locally on master), or something really odd is going on

@Centril

This comment has been minimized.

Copy link
Contributor Author

Centril commented Mar 18, 2019

@oli-obk Is that the upstream master? Otherwise maybe someone merged a PR or something..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.