fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
553 B15 linesraw
1error: generic parameters on `where` clauses are reserved for future use
2  --> $DIR/where_with_bound.rs:1:19
3   |
4LL | fn foo<T>() where <T>::Item: ToString, T: Iterator { }
5   |                   ^^^ currently unsupported
6
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
14
15For more information about this error, try `rustc --explain E0412`.