summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/where_with_bound.rs
blob: 3ca45f1889c9ccdb6e2ec9eeced793245b16ee23 (plain)
1
2
3
4
5
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() {}