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