about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorThe Miri Conjob Bot <miri@cron.bot>2023-10-21 05:23:43 +0000
committerThe Miri Conjob Bot <miri@cron.bot>2023-10-21 05:23:43 +0000
commit8044a59a29fc2f712854bc85cb564dfe5b43c565 (patch)
treea223c0b0b3da935058be79a3e282ad5c39c035d7 /compiler/rustc_codegen_gcc/example/std_example.rs
parentee54d83b1fb85ba887fc85907ceed9d021f403fc (diff)
parent249624b5043013d18c00f0401ca431c1a6baa8cd (diff)
downloadrust-8044a59a29fc2f712854bc85cb564dfe5b43c565.tar.gz
rust-8044a59a29fc2f712854bc85cb564dfe5b43c565.zip
Merge from rustc
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;