Skip to content

Commit f922e74

Browse files
committed
Make coroutine_drop_cleanup 2024 edition compatible
1 parent 770fcbf commit f922e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/mir-opt/coroutine_drop_cleanup.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// EMIT_MIR coroutine_drop_cleanup.main-{closure#0}.coroutine_drop.0.mir
1010
fn main() {
11-
let gen = #[coroutine]
11+
let gen_ = #[coroutine]
1212
|| {
1313
let _s = String::new();
1414
yield;

0 commit comments

Comments
 (0)