summaryrefslogtreecommitdiffstats
path: root/tests/ui/wf/issue-110157.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/wf/issue-110157.rs')
-rw-r--r--tests/ui/wf/issue-110157.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/wf/issue-110157.rs b/tests/ui/wf/issue-110157.rs
index 43a8ce72f..07e2c5d58 100644
--- a/tests/ui/wf/issue-110157.rs
+++ b/tests/ui/wf/issue-110157.rs
@@ -2,6 +2,7 @@ struct NeedsDropTypes<'tcx, F>(std::marker::PhantomData<&'tcx F>);
impl<'tcx, F, I> Iterator for NeedsDropTypes<'tcx, F>
//~^ ERROR type annotations needed
+//~| ERROR not all trait items implemented
where
F: Fn(&Missing) -> Result<I, ()>,
//~^ ERROR cannot find type `Missing` in this scope