about summary refs log tree commit diff
path: root/tests/ui/coroutine/arg-count-mismatch-on-unit-input.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/coroutine/arg-count-mismatch-on-unit-input.stderr')
-rw-r--r--tests/ui/coroutine/arg-count-mismatch-on-unit-input.stderr5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ui/coroutine/arg-count-mismatch-on-unit-input.stderr b/tests/ui/coroutine/arg-count-mismatch-on-unit-input.stderr
index c7d6507fd79..839299f1c94 100644
--- a/tests/ui/coroutine/arg-count-mismatch-on-unit-input.stderr
+++ b/tests/ui/coroutine/arg-count-mismatch-on-unit-input.stderr
@@ -5,7 +5,10 @@ LL | fn foo() -> impl Coroutine<u8> {
    |             ^^^^^^^^^^^^^^^^^^ expected due to this
 ...
 LL |     |_: ()| {}
-   |     ------- found signature defined here
+   |     ----------
+   |     |
+   |     found signature defined here
+   |     return type was inferred to be `{coroutine@$DIR/arg-count-mismatch-on-unit-input.rs:8:5: 8:12}` here
    |
    = note: expected coroutine signature `fn(u8) -> _`
               found coroutine signature `fn(()) -> _`