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
[ICE][nightly]: "broken MIR in Shim(FutureDropPoll(..)) ... adt field has the wrong type" with async_drop and a reassigned local #164995
C-bugCategory: This is a bug.F-async_drop`#![feature(async_drop)]`I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
error: internal compiler error: compiler/rustc_mir_transform/src/validate.rs:81:25: broken MIR in Shim(FutureDropPoll(DefId(2:17590 ~ core[581b]::future::async_drop::async_drop_in_place::{closure#0}), Coroutine(..))) (after phase change to runtime-optimized) at bb8[0]:
adt field has the wrong type
...
#0 [mir_shims] generating MIR shim for `core::future::async_drop::async_drop_in_place::{closure#0}`, kind=FutureDropPoll(..)
#1 [items_of_instance] collecting items used by `core::future::async_drop::async_drop_in_place::<{async block@a.rs:5:5: 5:10}>::{closure#0} - dropshim(..)`
C-bugCategory: This is a bug.F-async_drop`#![feature(async_drop)]`I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Activity