about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-04-07 22:29:22 +1000
committerGitHub <noreply@github.com>2025-04-07 22:29:22 +1000
commit6e0b67419c71b0adcd6108d268d7eda5330bd392 (patch)
treea5449e907bcfbb64285463eaa9ab0d29775f8fe6 /compiler/rustc_session/src
parent5863b426b9e9b97424383da9005fe692c69673d5 (diff)
parentd111aa87f1588d2ac0c282baa1b7d70e87231d52 (diff)
downloadrust-6e0b67419c71b0adcd6108d268d7eda5330bd392.tar.gz
rust-6e0b67419c71b0adcd6108d268d7eda5330bd392.zip
Rollup merge of #139466 - compiler-errors:trivial-incr-tainting, r=oli-obk
Trivial tweaks to stop tracking source span directly

Firstly, remove some unnecessary work from `sccs_info`. This included debug printing which ends up giving all mir borrowck queries a dependency edge from the query to `source_span` (I think?).

Secondly, turn some calls from `hir_span` (which does some span adjustment, and thus incurs span tracking, which causes a dependency edge from the query to `source_span`) to `def_span`, which should cache better.

r? oli-obk
Diffstat (limited to 'compiler/rustc_session/src')
0 files changed, 0 insertions, 0 deletions