Skip to content

Commit 83dba6e

Browse files
committed
Auto merge of rust-lang#106092 - asquared31415:start_lang_item_checks, r=davidtwco
Add checks for the signature of the `start` lang item Closes rust-lang#105963
2 parents d216167 + c319440 commit 83dba6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/def_id_nocore.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub trait Copy {}
1515
pub unsafe trait Freeze {}
1616

1717
#[lang = "start"]
18-
fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8) -> isize {
18+
fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> isize {
1919
0
2020
}
2121

0 commit comments

Comments
 (0)