about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2022-10-03 13:45:02 +0300
committerAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2022-11-05 07:36:47 +0300
commit02f78fdb940b913228953b7530c9e429ce35bb8a (patch)
tree56f85ddf680ac1ebc7f74b2b455c76dd7f43de61 /compiler/rustc_query_impl/src
parentdf668b9fb960855ca1483ea520862c1eb8184d25 (diff)
downloadrust-02f78fdb940b913228953b7530c9e429ce35bb8a.tar.gz
rust-02f78fdb940b913228953b7530c9e429ce35bb8a.zip
use spans in TypeTest rather than mir::Location
Spans are independent of the body being borrow-checked, so they don't
need remapping when promoting type-tests and they yield more specific
error spans inside bodies of closures/inline consts.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions