rust/tests/ui/parser/where_with_bound.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
199 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
//~| ERROR cannot find type `Item` in the crate root
2016-12-09 22:40:01 -06:00
fn main() {}