mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
add checks for the signature of the lang item
This commit is contained in:
parent
5f8686ec3b
commit
c319440311
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ pub trait Copy {}
|
|||
pub unsafe trait Freeze {}
|
||||
|
||||
#[lang = "start"]
|
||||
fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8) -> isize {
|
||||
fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> isize {
|
||||
0
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue