]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/where_with_bound.rs
Rollup merge of #92024 - pcwalton:per-codegen-unit-names, r=davidtwco
[rust.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() {}