diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-13 12:12:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 12:12:23 +0200 |
| commit | 37b956787a52f20af9e5d0a9494ae0f7da442703 (patch) | |
| tree | 086a5d282a86dc81138341a15dd347535d7eb68a /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | c977deb24b11f3edebbc22eb2ec3869d52c90e16 (diff) | |
| parent | ba3cb156cb5e6cc9860600ec6dc7713d69e6b17b (diff) | |
| download | rust-37b956787a52f20af9e5d0a9494ae0f7da442703.tar.gz rust-37b956787a52f20af9e5d0a9494ae0f7da442703.zip | |
Rollup merge of #128745 - dtolnay:spawnunchecked, r=workingjubilee
Remove unused lifetime parameter from spawn_unchecked Amanieu caught this when reviewing the stabilization proposal in https://github.com/rust-lang/rust/issues/55132. The `'a` lifetime here is useless. The signature is asking the caller of `spawn_unchecked` to "give me any lifetime that is shorter than your F's and T's lifetime", which they can always to with no effect, because arbitrarily short lifetimes exist.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
