diff options
| author | bors <bors@rust-lang.org> | 2023-01-13 07:45:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-13 07:45:34 +0000 |
| commit | 4a04f252f91b2ccef6fc16817b3e7a3aeda703b6 (patch) | |
| tree | 5cc63655728ee45d7b7287de657a21e732043655 /src/tools/clippy | |
| parent | 279f1c9d8c26a8d227ae8ab806d262bb784b251b (diff) | |
| parent | 337a97d3741bb78319cde745119cf96941b78325 (diff) | |
| download | rust-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.rs | 2 |
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 } |
