Error code E0646
It is not possible to define main with a where clause.
Erroneous code example:
fn main() where i32: Copy { // error: main function is not allowed to have
// a where clause
}
Content-Length: 23604 | pFad | https://doc.rust-lang.org/std/string/../error/../string/../../std/../../../error_codes/./E0646.html
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
It is not possible to define main with a where clause.
Erroneous code example:
fn main() where i32: Copy { // error: main function is not allowed to have
// a where clause
}
Fetched URL: https://doc.rust-lang.org/std/string/../error/../string/../../std/../../../error_codes/./E0646.html
Alternative Proxies: