]>
Commit | Line | Data |
---|---|---|
0bf4aa26 | 1 | error: generic parameters on `where` clauses are reserved for future use |
0731742a | 2 | --> $DIR/where_with_bound.rs:1:19 |
0bf4aa26 XL |
3 | | |
4 | LL | fn foo<T>() where <T>::Item: ToString, T: Iterator { } | |
0731742a | 5 | | ^^^ currently unsupported |
0bf4aa26 | 6 | |
0731742a XL |
7 | error[E0412]: cannot find type `Item` in the crate root |
8 | --> $DIR/where_with_bound.rs:1:24 | |
9 | | | |
10 | LL | fn foo<T>() where <T>::Item: ToString, T: Iterator { } | |
11 | | ^^^^ not found in the crate root | |
12 | ||
13 | error: aborting due to 2 previous errors | |
0bf4aa26 | 14 | |
0731742a | 15 | For more information about this error, try `rustc --explain E0412`. |