blob: 8ca6e777f301da4d21b1750a07b802f8d47ab946 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
The `start` function was defined with a where clause.
Erroneous code example:
```compile_fail,E0647
#![feature(start)]
#[start]
fn start(_: isize, _: *const *const u8) -> isize where (): Copy {
//^ error: start function is not allowed to have a where clause
0
}
```
|