diff options
| author | Celina G. Val <celinval@amazon.com> | 2024-01-16 14:31:25 -0800 |
|---|---|---|
| committer | Celina G. Val <celinval@amazon.com> | 2024-01-16 14:35:18 -0800 |
| commit | 2564811e7b7464d4e2ab8cd5a826bf7c2f9f7d8b (patch) | |
| tree | e6f7631cbd85aad692d5a54984f8d399c5169461 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | f91ccf9ace393a681922b145e56e7e3fb0041657 (diff) | |
| download | rust-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-sha1.rs')
0 files changed, 0 insertions, 0 deletions
