fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.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 6help: possible better candidate is found in another module, you can import it into scope 7 | 8LL | use std::ops::Add; 9 | 10 11error: aborting due to previous error 12 13For more information about this error, try `rustc --explain E0404`.