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:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-17 15:20:54 +0900
committerGitHub <noreply@github.com>2021-03-17 15:20:54 +0900
commit5476382dda9030928f9f4dc711ade6613d7ee80a (patch)
tree8eacd47dbbbba439cd9b2d7e9ae9f0500dffc200 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent846d4f0613c77955d1e613715d1267e791f85165 (diff)
parent09a9ea69bfc381e6cedb9141d1b607b12027e94b (diff)
downloadrust-5476382dda9030928f9f4dc711ade6613d7ee80a.tar.gz
rust-5476382dda9030928f9f4dc711ade6613d7ee80a.zip
Rollup merge of #83092 - petrochenkov:qspan, r=estebank
More precise spans for HIR paths

`Ty::assoc_item` is lowered to `<Ty>::assoc_item` in HIR, but `Ty` got span from the whole path.
This PR fixes that, and adjusts some diagnostic code that relied on `Ty` having the whole path span.

This is a pre-requisite for https://github.com/rust-lang/rust/pull/82868 (we cannot report suggestions like `Tr::assoc` -> `<dyn Tr>::assoc` with the current imprecise spans).
r? ````@estebank````
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions