rust/src/test/ui/parser/where_with_bound.rs

5 lines
146 B
Rust
Raw Normal View History

2016-12-09 22:40:01 -06:00
fn foo<T>() where <T>::Item: ToString, T: Iterator { }
//~^ ERROR generic parameters on `where` clauses are reserved for future use
2016-12-09 22:40:01 -06:00
fn main() {}