summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binop/issue-77910-2.stderr
blob: 5477a5762a8fd0fc424ff3fbb5ffd11605c1d175 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0369]: binary operation `==` cannot be applied to type `for<'r> fn(&'r i32) -> &'r i32 {foo}`
  --> $DIR/issue-77910-2.rs:7:12
   |
LL |     if foo == y {}
   |        --- ^^ - _
   |        |
   |        for<'r> fn(&'r i32) -> &'r i32 {foo}

error: aborting due to previous error

For more information about this error, try `rustc --explain E0369`.