2016-12-09 22:40:01 -06:00
|
|
|
fn foo<T>() where <T>::Item: ToString, T: Iterator { }
|
2018-01-14 09:10:19 -06:00
|
|
|
//~^ ERROR generic parameters on `where` clauses are reserved for future use
|
2019-01-11 23:05:18 -06:00
|
|
|
//~| ERROR cannot find type `Item` in the crate root
|
2016-12-09 22:40:01 -06:00
|
|
|
|
|
|
|
fn main() {}
|