fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
432 B12 linesraw
1error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters
2  --> $DIR/E0194.rs:3:26
3   |
4LL | trait Foo<T> {
5   |           - first use of `T`
6LL |     fn do_something(&self) -> T;
7LL |     fn do_something_else<T: Clone>(&self, bar: T);
8   |                          ^ already used
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0403`.