]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/where_with_bound.rs
Auto merge of #57130 - VardhanThigle:Vardhan/x86_64-fortanix-unknown-sgx-tier2_suppor...
[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() {}