mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +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 {}
|
pub unsafe trait Freeze {}
|
||||||
|
|
||||||
#[lang = "start"]
|
#[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
|
0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue