diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-10-10 20:22:15 +0200 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-11-15 10:55:00 -0500 |
| commit | 93ba97f97b487fb4c8da4842078d7595ecc2a4a5 (patch) | |
| tree | 2b4cbeb7840ef2571c57ca84ba6f4fbc63887e27 /src/test/ui/thinlto | |
| parent | 72cccf14896615e33c2d26c4457d480d4aa5fd89 (diff) | |
| download | rust-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
