about summary refs log tree commit diff
path: root/tests/ui/impl-trait/bounds_regression.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/bounds_regression.rs')
-rw-r--r--tests/ui/impl-trait/bounds_regression.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/bounds_regression.rs b/tests/ui/impl-trait/bounds_regression.rs
index e73bf68f8f6..f32d83c0c40 100644
--- a/tests/ui/impl-trait/bounds_regression.rs
+++ b/tests/ui/impl-trait/bounds_regression.rs
@@ -9,7 +9,7 @@ pub trait FakeFuture {
     type Output;
 }
 
-pub fn future_from_generator<
+pub fn future_from_coroutine<
     T: FakeCoroutine<Yield = ()>
 >(x: T) -> impl FakeFuture<Output = T::Return> {
     GenFuture(x)