Skip to content

Commit c319440

Browse files
asquared31415dtolnay
authored andcommitted
add checks for the signature of the lang item
1 parent 5f8686e commit c319440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/def_id_nocore.rs

Lines changed: 1 addition & 1 deletion
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)