fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
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`.