mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
fa4cc63a6b
Ensure mir_drops_elaborated_and_const_checked when requiring codegen. mir_drops_elaborated_and_const_checked may emit errors while codegen has started, and the compiler would exit leaving object code files around. Found by `@cuviper` in https://github.com/rust-lang/rust/issues/109731