]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0647.md
Rollup merge of #92310 - ehuss:rustdoc-ice, r=estebank
[rust.git] / compiler / rustc_error_codes / src / error_codes / E0647.md
1 The `start` function was defined with a where clause.
2
3 Erroneous code example:
4
5 ```compile_fail,E0647
6 #![feature(start)]
7
8 #[start]
9 fn start(_: isize, _: *const *const u8) -> isize where (): Copy {
10     //^ error: start function is not allowed to have a where clause
11     0
12 }
13 ```