summaryrefslogtreecommitdiffstats
path: root/tests/ui/wf/issue-110157.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/wf/issue-110157.stderr')
-rw-r--r--tests/ui/wf/issue-110157.stderr32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/ui/wf/issue-110157.stderr b/tests/ui/wf/issue-110157.stderr
new file mode 100644
index 000000000..91d801e94
--- /dev/null
+++ b/tests/ui/wf/issue-110157.stderr
@@ -0,0 +1,32 @@
+error[E0412]: cannot find type `Missing` in this scope
+ --> $DIR/issue-110157.rs:6:12
+ |
+LL | F: Fn(&Missing) -> Result<I, ()>,
+ | ^^^^^^^ not found in this scope
+
+error[E0412]: cannot find type `Missing` in this scope
+ --> $DIR/issue-110157.rs:8:24
+ |
+LL | I: Iterator<Item = Missing>,
+ | ^^^^^^^ not found in this scope
+
+error[E0283]: type annotations needed
+ --> $DIR/issue-110157.rs:3:31
+ |
+LL | impl<'tcx, F, I> Iterator for NeedsDropTypes<'tcx, F>
+ | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `I`
+ |
+ = note: cannot satisfy `_: Iterator`
+note: required for `NeedsDropTypes<'tcx, F>` to implement `Iterator`
+ --> $DIR/issue-110157.rs:3:18
+ |
+LL | impl<'tcx, F, I> Iterator for NeedsDropTypes<'tcx, F>
+ | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
+...
+LL | I: Iterator<Item = Missing>,
+ | ------------------------ unsatisfied trait bound introduced here
+
+error: aborting due to 3 previous errors
+
+Some errors have detailed explanations: E0283, E0412.
+For more information about an error, try `rustc --explain E0283`.