Make coroutine_drop_cleanup 2024 edition compatible
This commit is contained in:
parent
770fcbf8c1
commit
f922e74f71
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue