// run-pass // Test the case where we resolve `C::Result` and the trait bound // itself includes a `Self::Item` shorthand. // // Regression test for issue #33425. trait ParallelIterator { type Item; fn drive_unindexed(self, consumer: C) -> C::Result where C: Consumer; } pub trait Consumer { type Result; } fn main() { }