blob: 1e9ec7d4380adb56050f447f500e56f3a8844b3a (
plain)
1
2
3
4
5
6
7
8
9
|
It is not possible to define `main` with a where clause.
Erroneous code example:
```compile_fail,E0646
fn main() where i32: Copy { // error: main function is not allowed to have
// a where clause
}
```
|