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