-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 in collect_and_partition_mono_items #69785
Comments
If anyone has a quick and dirty idea for how to force an |
This comment has been minimized.
This comment has been minimized.
@jonas-schievink Updated reproducing code to remove need for |
I'm fairly certain this is related to the visibility of types that appear in an |
@rustbot ping icebreakers-cleanup-crew |
Hey Cleanup Crew ICE-breakers! This bug has been identified as a good cc @AminArria @chrissimpkins @contrun @DutchGhost @elshize @ethanboxx @h-michael @HallerPatrick @hdhoang @hellow554 @imtsuki @jakevossen5 @KarlK90 @LeSeulArtichaut @matheus-consoli @mental32 @nmccarty @Noah-Kennedy @pard68 @PeytonT @pierreN @Redblueflame @RobbieClarken @RobertoSnap @robjtede @SarthakSingh31 @senden9 @shekohex @sinato @spastorino @turboladen @woshilapin @yerke |
triage: P-high until we assess severity (the bug written depends on a feature flag) we want to know if that's really needed for the issue to reproduce. |
fwiw, my guess is that the feature flag is not necessary, and that the relevant |
So, for cleanup crew ICE-breakers who might take a look at this: (a) we should try to get a backtrace with line numbers // crate a
use std::future::Future;
// NOTE: the pub(crate) here is critical
pub(crate) fn new() -> () {}
pub struct A;
impl A {
fn call(&mut self, _: ()) -> impl Future<Output = ()> {
async { new() }
}
} |
Downgrading priority for now until we can reproduce without the gate. |
@nikomatsakis Interestingly enough, an inherent method like that does not reproduce the issue, so it appears the existential type in associated type position is also needed. |
I just hit the same issue on nightly:
Reproduction is huge though: https://github.com/subspace/substrate/tree/rust-69785 Just I don't see |
That is #92755 which was fixed two days ago. Try updating rustc. |
Indeed, thanks! |
Code
Meta
Error output
This is probably a smaller reproduction of #57430.
The text was updated successfully, but these errors were encountered: