-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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: index out of bounds: the len is 323 but the index is 324, ena-0.14.0/src/snapshot_vec.rs:199:10 #99914
Comments
might be related to one of these ^^ |
Ugh, this is due to adding this I can possibly try to reproduce, but this will be difficult to do without an MVCE. |
@compiler-errors can you try |
This is a different issue. #95034 is a trait solver issue having to do with higher ranked type equality and the This has to do with a region variable escaping out of a |
Actually wait this is a type variable that's escaping. Ugh, probably due to opaque types :? |
oh I forgot I saved this code I will try to trim it down to something I can post publicly |
@jyn514 if you can, it would be incredibly useful here. |
struct Error;
fn foo() {
let initial_exchange: Result<usize, Error> = todo!();
initial_exchange.and_then(|_|
serve_udp_tunnel()
).await;
}
async fn serve_udp_tunnel() {}
|
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-medium |
Code
This was in a closed source codebase I don't have time to minimize right now. It happened when I called
.unwrap_or_else()
(or something like that, don't exactly remember) on a value with typeimpl Future<Output = Result<T, E>>
. Don't remember what T or E were :(Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: