diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-08-27 14:36:14 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-09-13 19:18:23 +0200 |
| commit | 1f370d9437795d8ad8382d106b3e55715ab0d251 (patch) | |
| tree | ae68de723bb430c47a8036c0638b5a0430d71e34 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | ffe20d61d662fd5a32505a9b9f5258207351e00b (diff) | |
| download | rust-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
