about summary refs log tree commit diff
path: root/tests/debuginfo
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-10-19 16:06:43 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-10-20 21:10:38 +0000
commit60956837cfbf22bd8edd80f57a856e141f7deb8c (patch)
tree4cc50671566d7fb411d8e933348d6785d6bc55cc /tests/debuginfo
parent96027d945b9d8cae622a2fa4e70d8040be2964f3 (diff)
s/Generator/Coroutine/
Diffstat (limited to 'tests/debuginfo')
-rw-r--r--tests/debuginfo/function-names.rs10
-rw-r--r--tests/debuginfo/generator-locals.rs2
-rw-r--r--tests/debuginfo/generator-objects.rs2
-rw-r--r--tests/debuginfo/issue-57822.rs2
4 files changed, 8 insertions, 8 deletions
diff --git a/tests/debuginfo/function-names.rs b/tests/debuginfo/function-names.rs
index d9aa03fee62..7b138e2b41b 100644
--- a/tests/debuginfo/function-names.rs
+++ b/tests/debuginfo/function-names.rs
@@ -31,8 +31,8 @@
 // gdb-check:[...]static fn function_names::main::{closure#0}(*mut function_names::main::{closure_env#0});
 // gdb-check:[...]static fn function_names::{impl#2}::impl_function::{closure#0}<i32, i32>(*mut function_names::{impl#2}::impl_function::{closure_env#0}<i32, i32>);
 
-// Generator
-// Generators don't seem to appear in GDB's symbol table.
+// Coroutine
+// Coroutines don't seem to appear in GDB's symbol table.
 
 // Const generic parameter
 // gdb-command:info functions -q function_names::const_generic_fn.*
@@ -69,7 +69,7 @@
 // cdb-check:[...] a!function_names::main::closure$0 (void)
 // cdb-check:[...] a!function_names::generic_func::closure$0<i32> (void)
 
-// Generator
+// Coroutine
 // cdb-command:x a!function_names::*::generator*
 // cdb-check:[...] a!function_names::main::generator$1 (void)
 
@@ -86,7 +86,7 @@
 #![feature(adt_const_params, generators, generator_trait)]
 #![allow(incomplete_features)]
 
-use std::ops::Generator;
+use std::ops::Coroutine;
 use std::pin::Pin;
 use Mod1::TestTrait2;
 
@@ -110,7 +110,7 @@ fn main() {
     let closure = || TestStruct1;
     closure();
 
-    // Generator
+    // Coroutine
     let mut generator = || {
         yield;
         return;
diff --git a/tests/debuginfo/generator-locals.rs b/tests/debuginfo/generator-locals.rs
index fd46c1a8b4d..ca84803d287 100644
--- a/tests/debuginfo/generator-locals.rs
+++ b/tests/debuginfo/generator-locals.rs
@@ -57,7 +57,7 @@
 #![feature(omit_gdb_pretty_printer_section, generators, generator_trait)]
 #![omit_gdb_pretty_printer_section]
 
-use std::ops::Generator;
+use std::ops::Coroutine;
 use std::pin::Pin;
 
 fn main() {
diff --git a/tests/debuginfo/generator-objects.rs b/tests/debuginfo/generator-objects.rs
index 11c4ae2f659..d36b344a804 100644
--- a/tests/debuginfo/generator-objects.rs
+++ b/tests/debuginfo/generator-objects.rs
@@ -66,7 +66,7 @@
 #![feature(omit_gdb_pretty_printer_section, generators, generator_trait)]
 #![omit_gdb_pretty_printer_section]
 
-use std::ops::Generator;
+use std::ops::Coroutine;
 use std::pin::Pin;
 
 fn main() {
diff --git a/tests/debuginfo/issue-57822.rs b/tests/debuginfo/issue-57822.rs
index 62e7eb13c2d..23d9ddc19cc 100644
--- a/tests/debuginfo/issue-57822.rs
+++ b/tests/debuginfo/issue-57822.rs
@@ -29,7 +29,7 @@
 #![feature(omit_gdb_pretty_printer_section, generators, generator_trait)]
 #![omit_gdb_pretty_printer_section]
 
-use std::ops::Generator;
+use std::ops::Coroutine;
 use std::pin::Pin;
 
 fn main() {