summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-10-10 20:22:15 +0200
committerMark Rousskov <mark.simulacrum@gmail.com>2020-11-15 10:55:00 -0500
commit93ba97f97b487fb4c8da4842078d7595ecc2a4a5 (patch)
tree2b4cbeb7840ef2571c57ca84ba6f4fbc63887e27 /src/test/ui/thinlto
parent72cccf14896615e33c2d26c4457d480d4aa5fd89 (diff)
downloadrust-93ba97f97b487fb4c8da4842078d7595ecc2a4a5.tar.gz
rust-93ba97f97b487fb4c8da4842078d7595ecc2a4a5.zip
Pin the ReentrantMutexes in sys::io::stdio.
The code before this change misused the ReentrantMutexes, by calling
init() on them and moving them afterwards. Now that ReentrantMutex
requires Pin for init(), this mistake is no longer easy to make.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions