1 error[E0646]: `main` function is not allowed to have a `where` clause
2 --> $DIR/issue-50714.rs:3:11
4 LL | fn main() where fn(&()): Eq {}
5 | ^^^^^^^^^^^^^^^^^ `main` cannot have a `where` clause
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0646`.