ICE: upvar: assertion failed: 1 == 2
-Wrust-2021-incompatible-closure-captures
#140011
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
L-rust_2021_incompatible_closure_captures
Lint: rust_2021_incompatible_closure_captures
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
auto-reduced (treereduce-rust):
original:
Version information
Possibly related line of code:
rust/compiler/rustc_hir_typeck/src/upvar.rs
Lines 1610 to 1622 in 1f76d21
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Wrust-2021-incompatible-closure-captures
Program output
The text was updated successfully, but these errors were encountered: