]>
Commit | Line | Data |
---|---|---|
32a655c1 | 1 | error[E0404]: expected trait, found type parameter `Add` |
0731742a | 2 | --> $DIR/issue-35987.rs:5:21 |
476ff2be | 3 | | |
0531ce1d | 4 | LL | impl<T: Clone, Add> Add for Foo<T> { |
32a655c1 | 5 | | ^^^ not a trait |
e74abb32 | 6 | | |
f9f354fc | 7 | help: consider importing this trait instead |
041b39d2 | 8 | | |
0531ce1d | 9 | LL | use std::ops::Add; |
041b39d2 | 10 | | |
476ff2be | 11 | |
0531ce1d | 12 | error: aborting due to previous error |
476ff2be | 13 | |
0531ce1d | 14 | For more information about this error, try `rustc --explain E0404`. |