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