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