Sign in
rust
/
rust
/
b032fac34e5be72aa02748eadd4e8d8917a7e758
/
.
/
compiler
/
rustc_error_codes
/
src
/
error_codes
/
E0646.md
blob: 1e9ec7d4380adb56050f447f500e56f3a8844b3a [
file
] [
log
] [
blame
] [
view
]
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
}
```