]>
Commit | Line | Data |
---|---|---|
17df50a5 XL |
1 | trait StreamingIterator { |
2 | type Item<'a>; | |
3 | fn next(&mut self) -> Option<Self::Item>; | |
4 | //~^ ERROR missing generics for associated type | |
5 | } | |
6 | ||
7 | fn main() {} | |
8 | ||
9 | // call stack from back to front: | |
10 | // create_substs_for_assoc_ty -> qpath_to_ty -> res_to_ty -> ast_ty_to_ty -> ty_of_fn |