summary refs log tree commit diff
path: root/src/test/ui/parser/where_with_bound.stderr
blob: 7cf16fbcef4a37c77d1bbfd0cea03be03a3a2c8c (plain)
1
2
3
4
5
6
7
8
error: generic parameters on `where` clauses are reserved for future use
  --> $DIR/where_with_bound.rs:13:19
   |
LL | fn foo<T>() where <T>::Item: ToString, T: Iterator { }
   |                   ^^^

error: aborting due to previous error