about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-25 06:48:37 +0000
committerbors <bors@rust-lang.org>2024-04-25 06:48:37 +0000
commit9d7a47fe31c049d32989ee41efec61b57ea1a4e0 (patch)
tree32f82f6179297d50ad208b9e57d39171f8e1635f /src/tools/rustfmt/tests/source
parentc69c79d42a691b2f8402d18ec87fb0e0873f1bf2 (diff)
parent258e5043a156a87497f98d5220624545658aad0b (diff)
downloadrust-9d7a47fe31c049d32989ee41efec61b57ea1a4e0.tar.gz
rust-9d7a47fe31c049d32989ee41efec61b57ea1a4e0.zip
Auto merge of #3513 - rust-lang:rustup-2024-04-25, r=RalfJung
Automatic Rustup
Diffstat (limited to 'src/tools/rustfmt/tests/source')
-rw-r--r--src/tools/rustfmt/tests/source/immovable_coroutines.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/rustfmt/tests/source/immovable_coroutines.rs b/src/tools/rustfmt/tests/source/immovable_coroutines.rs
index 3b94af0c96c..539049577a0 100644
--- a/src/tools/rustfmt/tests/source/immovable_coroutines.rs
+++ b/src/tools/rustfmt/tests/source/immovable_coroutines.rs
@@ -1,7 +1,8 @@
 #![feature(coroutines)]
 
 unsafe fn foo() {
-    let mut ga = static || { 
+    let mut ga = #[coroutine]
+    static || {
         yield 1;
     };
 }