about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-29 06:34:46 +0200
committerGitHub <noreply@github.com>2022-08-29 06:34:46 +0200
commitd814fdd3f944069826f1294f2cc6bbf0fe4835fa (patch)
tree57f75662821e2c55a2fdee3b261bb126bd824dbb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parenta3c965f5feb5dd1b50ef8c0d1c54d624fd10e3a7 (diff)
parentcb4cd7366415deb659641edcff695aa2e4ffb105 (diff)
downloadrust-d814fdd3f944069826f1294f2cc6bbf0fe4835fa.tar.gz
rust-d814fdd3f944069826f1294f2cc6bbf0fe4835fa.zip
Rollup merge of #100897 - RalfJung:const-not-to-mutable, r=lcnr
extra sanity check against consts pointing to mutable memory

This should be both unreachable and redundant (since we already ensure that validation only reads from read-only memory, when validating consts), but I feel like we cannot be paranoid enough here, and also if this ever fails it'll be a nicer error than the "cannot read from mutable memory" error.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions