Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0ae469d

Browse files
committedApr 1, 2025
Make coroutine_drop_cleanup 2024 edition compatible
1 parent 7bfa3b3 commit 0ae469d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/mir-opt/coroutine_drop_cleanup.rs

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.