rust/tests/ui/error-codes/E0647.stderr
Eduardo Sánchez Muñoz 17dfabff9c Change start to #[start] in some diagnosis
They refer to a function with the `start` attribute, but not necessarily named `start`.
2023-09-22 15:58:43 +02:00

10 lines
401 B
Plaintext

error[E0647]: `#[start]` function is not allowed to have a `where` clause
--> $DIR/E0647.rs:7:50
|
LL | fn start(_: isize, _: *const *const u8) -> isize where (): Copy {
| ^^^^^^^^^^^^^^ `#[start]` function cannot have a `where` clause
error: aborting due to previous error
For more information about this error, try `rustc --explain E0647`.