Skip to content

Commit

Permalink
Auto merge of rust-lang#106092 - asquared31415:start_lang_item_checks…
Browse files Browse the repository at this point in the history
…, r=davidtwco

Add checks for the signature of the `start` lang item

Closes rust-lang#105963
  • Loading branch information
bors committed Jan 13, 2023
2 parents d216167 + c319440 commit 83dba6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/def_id_nocore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 83dba6e

Please sign in to comment.