Skip to content

Commit 9681087

Browse files
committed
Auto merge of #146059 - folkertdev:va-end-lifetime, r=saethlin
explicitly end the lifetime of `va_list` tracking issue: rust-lang/rust#44930 split out from: rust-lang/rust#144549 The `va_list` is created in the compiler itself when the variable argument list `...` is desugared, and hence the lifetime end is not inserted automatically. The value can't outlive the function in which it was created, so it is correct to end the lifetime here. Ending the lifetime explicitly also appears to give slightly better codegen in rust-lang/rust#144549. I also included a little drive-by improvement to not cast pointers to integers and back again. r? codegen
2 parents bb1c58a + e1553be commit 9681087

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)