about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-13 12:12:23 +0200
committerGitHub <noreply@github.com>2024-08-13 12:12:23 +0200
commit37b956787a52f20af9e5d0a9494ae0f7da442703 (patch)
tree086a5d282a86dc81138341a15dd347535d7eb68a /compiler/rustc_codegen_llvm/src/errors.rs
parentc977deb24b11f3edebbc22eb2ec3869d52c90e16 (diff)
parentba3cb156cb5e6cc9860600ec6dc7713d69e6b17b (diff)
downloadrust-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