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:
authorCamille GILLOT <gillot.camille@gmail.com>2022-08-27 14:36:14 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-09-13 19:18:23 +0200
commit1f370d9437795d8ad8382d106b3e55715ab0d251 (patch)
treeae68de723bb430c47a8036c0638b5a0430d71e34 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentffe20d61d662fd5a32505a9b9f5258207351e00b (diff)
downloadrust-1f370d9437795d8ad8382d106b3e55715ab0d251.tar.gz
rust-1f370d9437795d8ad8382d106b3e55715ab0d251.zip
Use tcx.hir() utils for spans in MIR building.
This corrects the `span_with_body` in the case of closures, which was
incorrectly shortened to the `def_span`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions