summaryrefslogtreecommitdiffstats
path: root/tests/ui/save-analysis/issue-68621.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/save-analysis/issue-68621.stderr')
-rw-r--r--tests/ui/save-analysis/issue-68621.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/save-analysis/issue-68621.stderr b/tests/ui/save-analysis/issue-68621.stderr
new file mode 100644
index 000000000..4452ee791
--- /dev/null
+++ b/tests/ui/save-analysis/issue-68621.stderr
@@ -0,0 +1,10 @@
+error: unconstrained opaque type
+ --> $DIR/issue-68621.rs:14:19
+ |
+LL | type Future = impl Trait;
+ | ^^^^^^^^^^
+ |
+ = note: `Future` must be used in combination with a concrete type within the same impl
+
+error: aborting due to previous error
+