about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorThomas de Zeeuw <thomasdezeeuw@gmail.com>2018-07-23 13:39:21 +0200
committerThomas de Zeeuw <thomasdezeeuw@gmail.com>2018-07-23 13:45:25 +0200
commit89495f3ca33b8a236ee8bc4f89a64a500fe2391f (patch)
treee6f5f33aaced37a1c7b15f852b5c415cf280ce29 /src/test/debuginfo/enum-thinlto.rs
parent3b7720399a9006d9d7b89c251fa37ead46f9db7a (diff)
downloadrust-89495f3ca33b8a236ee8bc4f89a64a500fe2391f.tar.gz
rust-89495f3ca33b8a236ee8bc4f89a64a500fe2391f.zip
Forget Waker when cloning LocalWaker
Since NonNull is Copy the inner field of the cloned Waker was copied for
use in the new LocalWaker, however this left Waker to be dropped. Which
means that when cloning LocalWaker would also erroneously call drop_raw.

This change forgets the Waker, rather then dropping it, leaving the
inner field to be used by the returned LocalWaker.

Closes #52629.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions