]> git.lizzy.rs Git - rust.git/blob - tests/ui/binop/issue-93927.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / 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`.