about summary refs log tree commit diff
path: root/src/tools/clippy
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-13 07:45:34 +0000
committerbors <bors@rust-lang.org>2023-01-13 07:45:34 +0000
commit4a04f252f91b2ccef6fc16817b3e7a3aeda703b6 (patch)
tree5cc63655728ee45d7b7287de657a21e732043655 /src/tools/clippy
parent279f1c9d8c26a8d227ae8ab806d262bb784b251b (diff)
parent337a97d3741bb78319cde745119cf96941b78325 (diff)
downloadrust-4a04f252f91b2ccef6fc16817b3e7a3aeda703b6.tar.gz
rust-4a04f252f91b2ccef6fc16817b3e7a3aeda703b6.zip
Auto merge of #106092 - asquared31415:start_lang_item_checks, r=davidtwco
Add checks for the signature of the `start` lang item

Closes #105963
Diffstat (limited to 'src/tools/clippy')
-rw-r--r--src/tools/clippy/tests/ui/def_id_nocore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/def_id_nocore.rs b/src/tools/clippy/tests/ui/def_id_nocore.rs
index a7da8f89aa3..1af77d1a25b 100644
--- a/src/tools/clippy/tests/ui/def_id_nocore.rs
+++ b/src/tools/clippy/tests/ui/def_id_nocore.rs
@@ -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
 }