]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #99352 - compiler-errors:tighter-spans-on-generic-call, r=spastorino
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 20 Jul 2022 16:58:15 +0000 (18:58 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Jul 2022 16:58:15 +0000 (18:58 +0200)
commit43f6366da4b5a39284d7224eb3a195fb4b9f698a
treeab61c0db6ba19ee9ee7434d15ae6b1c63e2e841b
parent857afc75e6ca69cc7dcae36a6fac8c093ee6fa31
parentd672fea64a599337d010d35278bb0746c097d8b9
Rollup merge of #99352 - compiler-errors:tighter-spans-on-generic-call, r=spastorino

Use `typeck_results` to avoid duplicate `ast_ty_to_ty` call

Comes with a bunch of improvements in spans :heart_eyes:
compiler/rustc_typeck/src/check/fn_ctxt/checks.rs