2023-04-11 11:52:20 -05:00
|
|
|
error[E0412]: cannot find type `Missing` in this scope
|
2024-02-19 16:00:36 -06:00
|
|
|
--> $DIR/issue-110157.rs:6:12
|
2023-04-11 11:52:20 -05:00
|
|
|
|
|
|
|
|
LL | F: Fn(&Missing) -> Result<I, ()>,
|
|
|
|
| ^^^^^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0412]: cannot find type `Missing` in this scope
|
2024-02-19 16:00:36 -06:00
|
|
|
--> $DIR/issue-110157.rs:8:24
|
2023-04-11 11:52:20 -05:00
|
|
|
|
|
|
|
|
LL | I: Iterator<Item = Missing>,
|
|
|
|
| ^^^^^^^ not found in this scope
|
|
|
|
|
2023-10-25 05:49:24 -05:00
|
|
|
error[E0046]: not all trait items implemented, missing: `Item`, `next`
|
|
|
|
--> $DIR/issue-110157.rs:3:1
|
|
|
|
|
|
|
|
|
LL | / impl<'tcx, F, I> Iterator for NeedsDropTypes<'tcx, F>
|
|
|
|
LL | |
|
|
|
|
LL | | where
|
|
|
|
LL | | F: Fn(&Missing) -> Result<I, ()>,
|
|
|
|
LL | |
|
|
|
|
LL | | I: Iterator<Item = Missing>,
|
|
|
|
| |________________________________^ missing `Item`, `next` in implementation
|
|
|
|
|
|
|
|
|
= help: implement the missing item: `type Item = /* Type */;`
|
|
|
|
= help: implement the missing item: `fn next(&mut self) -> Option<<Self as Iterator>::Item> { todo!() }`
|
|
|
|
|
2024-02-19 16:00:36 -06:00
|
|
|
error: aborting due to 3 previous errors
|
2023-04-11 11:52:20 -05:00
|
|
|
|
2024-02-19 16:00:36 -06:00
|
|
|
Some errors have detailed explanations: E0046, E0412.
|
2023-10-25 05:49:24 -05:00
|
|
|
For more information about an error, try `rustc --explain E0046`.
|