about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorCelina G. Val <celinval@amazon.com>2024-01-16 14:31:25 -0800
committerCelina G. Val <celinval@amazon.com>2024-01-16 14:35:18 -0800
commit2564811e7b7464d4e2ab8cd5a826bf7c2f9f7d8b (patch)
treee6f7631cbd85aad692d5a54984f8d399c5169461 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentf91ccf9ace393a681922b145e56e7e3fb0041657 (diff)
downloadrust-2564811e7b7464d4e2ab8cd5a826bf7c2f9f7d8b.tar.gz
rust-2564811e7b7464d4e2ab8cd5a826bf7c2f9f7d8b.zip
Remove tcx function and make `internal` fn safer
I added `tcx` argument to `internal` to force 'tcx to be the same
lifetime as TyCtxt. The only other solution I could think is to change
this function to be `unsafe`.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions