summaryrefslogtreecommitdiffstats
path: root/src/test/ui/impl-trait/issue-99914.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/impl-trait/issue-99914.stderr')
-rw-r--r--src/test/ui/impl-trait/issue-99914.stderr21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/ui/impl-trait/issue-99914.stderr b/src/test/ui/impl-trait/issue-99914.stderr
deleted file mode 100644
index 074d5d58d..000000000
--- a/src/test/ui/impl-trait/issue-99914.stderr
+++ /dev/null
@@ -1,21 +0,0 @@
-error[E0308]: mismatched types
- --> $DIR/issue-99914.rs:9:27
- |
-LL | t.and_then(|t| -> _ { bar(t) });
- | ^^^^^^ expected enum `Result`, found opaque type
- |
-note: while checking the return type of the `async fn`
- --> $DIR/issue-99914.rs:13:23
- |
-LL | async fn bar(t: Okay) {}
- | ^ checked the `Output` of this `async fn`, found opaque type
- = note: expected enum `Result<_, Error>`
- found opaque type `impl Future<Output = ()>`
-help: try wrapping the expression in `Ok`
- |
-LL | t.and_then(|t| -> _ { Ok(bar(t)) });
- | +++ +
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0308`.