-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: unexpected predicate TraitPredicate on opaque type #75983
Comments
Is this going out in the new stable? |
Oh, this crate is full of unstable features, so no need to worry about stable |
Then I guess it would be worth minimizing this to check that we're unable to reproduce this with no unstable features, and if we can't, it would still be good to have a test case for the "culprit feature". |
I got it down to this, I haven't been able to remove #![feature(trait_alias)]
struct Bar;
trait Foo {}
impl Foo for Bar {}
trait Baz = Foo where Bar: Foo;
fn new() -> impl Baz {
Bar
} |
@rustbot ping cleanup-crew |
Hey Cleanup Crew ICE-breakers! This bug has been identified as a good cc @AminArria @camelid @chrissimpkins @contrun @DutchGhost @elshize @ethanboxx @h-michael @HallerPatrick @hdhoang @hellow554 @imtsuki @kanru @KarlK90 @LeSeulArtichaut @MAdrianMattocks @matheus-consoli @mental32 @nmccarty @Noah-Kennedy @pard68 @PeytonT @pierreN @Redblueflame @RobbieClarken @RobertoSnap @robjtede @SarthakSingh31 @senden9 @shekohex @sinato @spastorino @turboladen @woshilapin @yerke |
I'm not sure why I didn't bisect this as I'm all set up to do it..... the regression was in nightly 2020-06-22, specifically somewhere in this rollup: 7058471 |
possibly #72788, cc @matthewjasper |
Assigning |
Triage: This (#75983 (comment)) is no longer ICE with the latest nightly, it'd be great if someone could confirm whether the original is also fixed, marking as E-needs-test for now. EDIT: Confirmed that the original issue is also resolved, it's just compiled fine on my local. |
Found in the
pr-75180
crater run:ICEs:
This ICE happens on:
rustc 1.47.0-beta.1 (0f91f5c28 2020-08-25)
rustc 1.47.0-nightly (2d8a3b918 2020-08-26)
but rustc
1.45.2 (d3fb005a3 2020-07-31)
builds fine.The text was updated successfully, but these errors were encountered: