summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issue-73137.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/issue-73137.rs')
-rw-r--r--tests/ui/async-await/issue-73137.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/async-await/issue-73137.rs b/tests/ui/async-await/issue-73137.rs
index c43ce2cad..2d16f1936 100644
--- a/tests/ui/async-await/issue-73137.rs
+++ b/tests/ui/async-await/issue-73137.rs
@@ -28,7 +28,7 @@ fn main() {
a: async { 0 }.await,
};
- // An error in the generator transform caused `b` to be overwritten with `a` when `b` was
+ // An error in the coroutine transform caused `b` to be overwritten with `a` when `b` was
// borrowed.
nop(&action.b);
assert_ne!(0usize, unsafe { std::mem::transmute(action.b) });