diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-19 21:46:28 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-20 21:14:01 +0000 |
| commit | 0f739816c9fdfcb74b5d9ca50ce41e1d422b3545 (patch) | |
| tree | 046411f93cd99c96b748df4f8b79bc7a4c57cf2c | |
| parent | 8ac561afef6905bd1f708e4d9da2ae0dbc42b1ce (diff) | |
| download | rust-0f739816c9fdfcb74b5d9ca50ce41e1d422b3545.tar.gz rust-0f739816c9fdfcb74b5d9ca50ce41e1d422b3545.zip | |
s/generator/coroutine/
| -rw-r--r-- | tests/source/immovable_generators.rs | 2 | ||||
| -rw-r--r-- | tests/target/immovable_generators.rs | 2 | ||||
| -rw-r--r-- | tests/target/issue_4110.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/source/immovable_generators.rs b/tests/source/immovable_generators.rs index c57a1e14483..3b94af0c96c 100644 --- a/tests/source/immovable_generators.rs +++ b/tests/source/immovable_generators.rs @@ -1,4 +1,4 @@ -#![feature(generators)] +#![feature(coroutines)] unsafe fn foo() { let mut ga = static || { diff --git a/tests/target/immovable_generators.rs b/tests/target/immovable_generators.rs index 0bf7a2d91ba..f52cfa00f97 100644 --- a/tests/target/immovable_generators.rs +++ b/tests/target/immovable_generators.rs @@ -1,4 +1,4 @@ -#![feature(generators)] +#![feature(coroutines)] unsafe fn foo() { let mut ga = static || { diff --git a/tests/target/issue_4110.rs b/tests/target/issue_4110.rs index d3734e90b7f..ea8fa3b73d2 100644 --- a/tests/target/issue_4110.rs +++ b/tests/target/issue_4110.rs @@ -12,7 +12,7 @@ fn bindings() { span, .. }, - ) if borrow_spans.for_generator() | borrow_spans.for_closure() => self + ) if borrow_spans.for_coroutine() | borrow_spans.for_closure() => self .report_escaping_closure_capture( borrow_spans, borrow_span, |
