about summary refs log tree commit diff
path: root/tests/ui/wf/issue-110157.rs
blob: 1a3d13e93b0de9d73ada5ff2a59ebf8d7c67b212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct NeedsDropTypes<'tcx, F>(std::marker::PhantomData<&'tcx F>);

impl<'tcx, F, I> Iterator for NeedsDropTypes<'tcx, F>
//~^ ERROR not all trait items implemented
where
    F: Fn(&Missing) -> Result<I, ()>,
    //~^ ERROR cannot find type `Missing` in this scope
    I: Iterator<Item = Missing>,
    //~^ ERROR cannot find type `Missing` in this scope
{}

fn main() {}