fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0404]: expected trait, found type parameter `Add` 2 --> $DIR/issue-35987.rs:5:21 3 | 4LL | use std::ops::Add; 5 | --- you might have meant to refer to this trait 6LL | 7LL | impl<T: Clone, Add> Add for Foo<T> { 8 | --- ^^^ not a trait 9 | | 10 | found this type parameter 11 | 12help: consider importing this trait instead 13 | 14LL + use std::ops::Add; 15 | 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0404`.