fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0369]: binary operation `==` cannot be applied to type `for<'a> fn(&'a i32) -> &'a i32 {foo}` 2 --> $DIR/issue-77910-2.rs:7:12 3 | 4LL | if foo == y {} 5 | --- ^^ - _ 6 | | 7 | for<'a> fn(&'a i32) -> &'a i32 {foo} 8 | 9help: use parentheses to call this function 10 | 11LL | if foo(/* &i32 */) == y {} 12 | ++++++++++++ 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0369`.