diff options
| author | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2022-10-03 13:45:02 +0300 |
|---|---|---|
| committer | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2022-11-05 07:36:47 +0300 |
| commit | 02f78fdb940b913228953b7530c9e429ce35bb8a (patch) | |
| tree | 56f85ddf680ac1ebc7f74b2b455c76dd7f43de61 /compiler/rustc_query_impl/src | |
| parent | df668b9fb960855ca1483ea520862c1eb8184d25 (diff) | |
| download | rust-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
