2023-04-11 11:52:20 -05:00
|
|
|
struct NeedsDropTypes<'tcx, F>(std::marker::PhantomData<&'tcx F>);
|
|
|
|
|
|
|
|
impl<'tcx, F, I> Iterator for NeedsDropTypes<'tcx, F>
|
2024-02-19 16:00:36 -06:00
|
|
|
//~^ ERROR not all trait items implemented
|
2023-04-11 11:52:20 -05:00
|
|
|
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() {}
|