Skip to content

Commit 1b9dd4b

Browse files
committed
s/generator/coroutine/
1 parent f867858 commit 1b9dd4b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/source/immovable_generators.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(generators)]
1+
#![feature(coroutines)]
22

33
unsafe fn foo() {
44
let mut ga = static || {

tests/target/immovable_generators.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(generators)]
1+
#![feature(coroutines)]
22

33
unsafe fn foo() {
44
let mut ga = static || {

tests/target/issue_4110.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn bindings() {
1212
span,
1313
..
1414
},
15-
) if borrow_spans.for_generator() | borrow_spans.for_closure() => self
15+
) if borrow_spans.for_coroutine() | borrow_spans.for_closure() => self
1616
.report_escaping_closure_capture(
1717
borrow_spans,
1818
borrow_span,

0 commit comments

Comments
 (0)