ICE Unsize coercion, but Box<{async block@file.rs}>
isn't coercible to Box<dyn Send>
#137916
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
similar to #131886 but does neither requires nightly features nor unstable flags so it repros on stable
auto-reduced (treereduce-rust):
original:
Version information
Possibly related line of code:
rust/compiler/rustc_mir_transform/src/validate.rs
Lines 74 to 86 in daf5985
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc --edition=2021
Program output
The text was updated successfully, but these errors were encountered: