blob: 2370b3d6c612edea41f0011319bc476cf7993022 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0404]: `Add` is not a trait
--> $DIR/issue-35987.rs:15:21
|
15 | impl<T: Clone, Add> Add for Foo<T> {
| --- ^^^ expected trait, found type parameter
| |
| type parameter defined here
error: main function not found
error: cannot continue compilation due to previous error
|