about summary refs log tree commit diff
path: root/tests/ui/impl-trait/issue-99914.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/issue-99914.stderr')
-rw-r--r--tests/ui/impl-trait/issue-99914.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/issue-99914.stderr b/tests/ui/impl-trait/issue-99914.stderr
index 074d5d58d9a..3b4e130fdeb 100644
--- a/tests/ui/impl-trait/issue-99914.stderr
+++ b/tests/ui/impl-trait/issue-99914.stderr
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/issue-99914.rs:9:27
    |
 LL |     t.and_then(|t| -> _ { bar(t) });
-   |                           ^^^^^^ expected enum `Result`, found opaque type
+   |                           ^^^^^^ expected `Result<_, Error>`, found opaque type
    |
 note: while checking the return type of the `async fn`
   --> $DIR/issue-99914.rs:13:23