]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0647.md
Rollup merge of #67875 - dtolnay:hidden, r=GuillaumeGomez
[rust.git] / src / librustc_error_codes / error_codes / E0647.md
1 It is not possible to define `start` with a where clause.
2 Erroneous code example:
3
4 ```compile_fail,E0647
5 #![feature(start)]
6
7 #[start]
8 fn start(_: isize, _: *const *const u8) -> isize where (): Copy {
9     //^ error: start function is not allowed to have a where clause
10     0
11 }
12 ```