about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2019-07-03 21:45:17 -0400
committerGitHub <noreply@github.com>2019-07-03 21:45:17 -0400
commitaf96b1df1da916561547dd30b3187b30308d6843 (patch)
tree8e047fd01265430cf2d9114077698a26ca4349b2 /src/libsyntax/parse/parser
parent088b987307b91612ab164026e1dcdd0129fdb62b (diff)
downloadrust-af96b1df1da916561547dd30b3187b30308d6843.tar.gz
rust-af96b1df1da916561547dd30b3187b30308d6843.zip
Document that ManuallyDrop::drop should not called more than once
Double dropping is unsound (e.g. https://github.com/rust-lang/rust/issues/60977). This commit documents the fact that `ManuallyDrop::drop` should not be called multiple times on the same instance, as it might not be immediately obvious that this counts as a use of uninitialized data.
Diffstat (limited to 'src/libsyntax/parse/parser')
0 files changed, 0 insertions, 0 deletions