about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-08-27 01:14:20 +0200
committerGitHub <noreply@github.com>2020-08-27 01:14:20 +0200
commit8fd73aa45de5f4d9445a0c8b6f2672826b927442 (patch)
treeca9f140e228efb556ae462e8d4996f8d55a1a92c /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentc2a0168ce5eeb546ff7f72b3460ac9a55fc21381 (diff)
parentc8b240241a94a3a5badcbdcbe1b642a0dd440119 (diff)
downloadrust-8fd73aa45de5f4d9445a0c8b6f2672826b927442.tar.gz
rust-8fd73aa45de5f4d9445a0c8b6f2672826b927442.zip
Rollup merge of #75958 - Mark-Simulacrum:fix-toolstate, r=kennytm
Avoid function-scoping global variables

In 2e6f2e885506ee4, we added a main function to the publish_toolstate.py script.
Unfortunately, we missed that the Python program implicitly declares global
variables in that code, which means that adding a function changes variable
scoping and breaks other code.

This commit avoids introducing that function and adds a warning to future
editors of the code.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions