mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
f7a11798e8
Async drop poll shim for error dropee generates noop body Fixes https://github.com/rust-lang/rust/issues/140930. When dropee type for async drop poll shim is `ty::Error(_)`, the generated poll function will be noop body. To avoid ICE in `elaborate_drop`.