summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-50714.stderr
blob: a11aceb6211c57d0862483172d8e520900867c81 (plain)
1
2
3
4
5
6
7
8
9
error[E0646]: `main` function is not allowed to have a `where` clause
  --> $DIR/issue-50714.rs:3:11
   |
LL | fn main() where fn(&()): Eq {}
   |           ^^^^^^^^^^^^^^^^^ `main` cannot have a `where` clause

error: aborting due to previous error

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