]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/where_with_bound.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / where_with_bound.stderr
1 error: generic parameters on `where` clauses are reserved for future use
2   --> $DIR/where_with_bound.rs:1:19
3    |
4 LL | fn foo<T>() where <T>::Item: ToString, T: Iterator { }
5    |                   ^^^ currently unsupported
6
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
14
15 For more information about this error, try `rustc --explain E0412`.