fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0369]: binary operation `==` cannot be applied to type `MyType<T>` 2 --> $DIR/issue-93927.rs:14:9 3 | 4LL | val == val 5 | --- ^^ --- MyType<T> 6 | | 7 | MyType<T> 8 | 9help: consider further restricting this bound 10 | 11LL | fn cond<T: PartialEq + std::cmp::Eq>(val: MyType<T>) -> bool { 12 | ++++++++++++++ 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0369`.