]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/where_with_bound.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / parser / where_with_bound.rs
1 fn foo<T>() where <T>::Item: ToString, T: Iterator { }
2 //~^ ERROR generic parameters on `where` clauses are reserved for future use
3 //~| ERROR cannot find type `Item` in the crate root
4
5 fn main() {}