about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.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
commit70edab895d15480b34d0fcf94fd3fcb5f5966121 (patch)
treea8cf2f1d3af370aa666627f3d17733ed1e256e7e /compiler/rustc_mir/src/transform/coverage/debug.rs
parent3122510748ba67128fb2b5ed28367dbbc1602a8c (diff)
parente98b7d1bcf7031447bd569dfe4798203e4c3ccda (diff)
downloadrust-70edab895d15480b34d0fcf94fd3fcb5f5966121.tar.gz
rust-70edab895d15480b34d0fcf94fd3fcb5f5966121.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 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions