about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-21 05:35:01 +0000
committerbors <bors@rust-lang.org>2023-10-21 05:35:01 +0000
commit49056df3875ba831af15b243c452908616a01782 (patch)
treea223c0b0b3da935058be79a3e282ad5c39c035d7 /compiler/rustc_codegen_gcc/example/std_example.rs
parentc51ce167133c4a0c7898d766bbe221257d5bd4c3 (diff)
parent8044a59a29fc2f712854bc85cb564dfe5b43c565 (diff)
downloadrust-49056df3875ba831af15b243c452908616a01782.tar.gz
rust-49056df3875ba831af15b243c452908616a01782.zip
Auto merge of #3132 - rust-lang:rustup-2023-10-21, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
-rw-r--r--compiler/rustc_codegen_gcc/example/std_example.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/example/std_example.rs b/compiler/rustc_codegen_gcc/example/std_example.rs
index 18f2ddcde12..dc0aad04a78 100644
--- a/compiler/rustc_codegen_gcc/example/std_example.rs
+++ b/compiler/rustc_codegen_gcc/example/std_example.rs
@@ -1,9 +1,9 @@
-#![feature(core_intrinsics, generators, generator_trait, is_sorted)]
+#![feature(core_intrinsics, coroutines, coroutine_trait, is_sorted)]
 
 #[cfg(feature="master")]
 use std::arch::x86_64::*;
 use std::io::Write;
-use std::ops::Generator;
+use std::ops::Coroutine;
 
 extern {
     pub fn printf(format: *const i8, ...) -> i32;