]> git.proxmox.com Git - rustc.git/blob - src/test/ui/binop/issue-93927.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / binop / issue-93927.stderr
1 error[E0369]: binary operation `==` cannot be applied to type `MyType<T>`
2 --> $DIR/issue-93927.rs:14:9
3 |
4 LL | val == val
5 | --- ^^ --- MyType<T>
6 | |
7 | MyType<T>
8 |
9 help: consider further restricting this bound
10 |
11 LL | fn cond<T: PartialEq + std::cmp::Eq>(val: MyType<T>) -> bool {
12 | ++++++++++++++
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0369`.