fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
412 B14 linesraw
1error[E0404]: expected trait, found type parameter `Add`
2  --> $DIR/issue-35987.rs:5:21
3   |
4LL | impl<T: Clone, Add> Add for Foo<T> {
5   |                     ^^^ not a trait
6   |
7help: possible better candidate is found in another module, you can import it into scope
8   |
9LL | use std::ops::Add;
10   |
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0404`.