fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0412]: cannot find type `Missing` in this scope 2 --> $DIR/issue-110157.rs:6:12 3 | 4LL | F: Fn(&Missing) -> Result<I, ()>, 5 | ^^^^^^^ not found in this scope 6 7error[E0412]: cannot find type `Missing` in this scope 8 --> $DIR/issue-110157.rs:8:24 9 | 10LL | I: Iterator<Item = Missing>, 11 | ^^^^^^^ not found in this scope 12 13error[E0283]: type annotations needed 14 --> $DIR/issue-110157.rs:3:31 15 | 16LL | impl<'tcx, F, I> Iterator for NeedsDropTypes<'tcx, F> 17 | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `I` 18 | 19 = note: cannot satisfy `_: Iterator` 20note: required for `NeedsDropTypes<'tcx, F>` to implement `Iterator` 21 --> $DIR/issue-110157.rs:3:18 22 | 23LL | impl<'tcx, F, I> Iterator for NeedsDropTypes<'tcx, F> 24 | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ 25... 26LL | I: Iterator<Item = Missing>, 27 | ------------------------ unsatisfied trait bound introduced here 28 29error: aborting due to 3 previous errors 30 31Some errors have detailed explanations: E0283, E0412. 32For more information about an error, try `rustc --explain E0283`.