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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stack overflow with impl Trait and multiple lifetimes... and a closure. #92833
A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.A-lifetimesArea: Lifetimes / regionsC-bugCategory: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Seems to stack overflow (I think it's one... on Linux it does give "segfault", technically, and on Windows it produces "thread 'rustc' has overflowed its stack").
Haven't tried much to minimize further yet, perhaps this can also be done, somehow, without using a closure? Nevermind, I removed the need for closures now
A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.A-lifetimesArea: Lifetimes / regionsC-bugCategory: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Activity
rustbot commentedon Jan 13, 2022
Error: Label ~~A-closures can only be set by Rust team members
Please let
@rust-lang/releaseknow if you're having trouble with this bot.QuineDot commentedon Jan 13, 2022
More minimal:
Almost surely a dupe of #88236 based on the 1.56 error, and that issue also overflows now.
steffahn commentedon Jan 13, 2022
Yes, that's a dupe
steffahn commentedon Jan 13, 2022
I had only searched for I-crash issues :-)