blob: 4e04d8eb05cb137fc2707e1782613aa1f185f03e [file] [log] [blame] [edit]
//@ edition:2015
fn foo<T>() where <T>::Item: ToString, T: Iterator { }
//~^ ERROR generic parameters on `where` clauses are reserved for future use
//~| ERROR cannot find type `Item` in the crate root
fn main() {}