Panic related to compound if ... && let Ok(...) = ... {
statement
#84952
Labels
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
The code in question (copied below) is also found here: https://git.sr.ht/~nickbp/kapiti/tree/8b9a7869/item/src/runner.rs#L308
If
filter_uri.scheme() != None &&
is removed from line 308, the crash goes away. I tried getting a minimal repro via a separate project but wasn't able to get the panic, only the error around experimental support. For example, I tried reproducing it with regular functions, and then again with async functions with smol imported as the async runtime to match the original code, and none of these were able to get a repro.The crash that I had experienced locally was also reproduced in the CI build of the
8b9a7869
commit, so it looks like it's at least not just my machine: https://builds.sr.ht/~nickbp/job/501433Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: