diff options
| author | bors <bors@rust-lang.org> | 2023-10-21 05:35:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-21 05:35:01 +0000 |
| commit | 49056df3875ba831af15b243c452908616a01782 (patch) | |
| tree | a223c0b0b3da935058be79a3e282ad5c39c035d7 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | c51ce167133c4a0c7898d766bbe221257d5bd4c3 (diff) | |
| parent | 8044a59a29fc2f712854bc85cb564dfe5b43c565 (diff) | |
| download | rust-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.rs | 4 |
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; |
