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