Make coroutine_drop_cleanup 2024 edition compatible

This commit is contained in:
bjorn3 2025-04-01 14:12:07 +00:00
parent 770fcbf8c1
commit f922e74f71

View file

@ -8,7 +8,7 @@
// EMIT_MIR coroutine_drop_cleanup.main-{closure#0}.coroutine_drop.0.mir
fn main() {
let gen = #[coroutine]
let gen_ = #[coroutine]
|| {
let _s = String::new();
yield;