about summary refs log tree commit diff
path: root/compiler/rustc_plugin_impl/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-21 18:24:44 +0000
committerbors <bors@rust-lang.org>2023-03-21 18:24:44 +0000
commit77d50a8870a912af1def75760b9638db892717c5 (patch)
tree1344f45b1ff5d7317018b03a3cadece983d3d5d5 /compiler/rustc_plugin_impl/src/errors.rs
parent66676820eb801473f21006fa64315ce3c42402eb (diff)
parentb1a957b0b922aa2ec2d1763f231915dcb58401d9 (diff)
downloadrust-77d50a8870a912af1def75760b9638db892717c5.tar.gz
rust-77d50a8870a912af1def75760b9638db892717c5.zip
Auto merge of #109092 - compiler-errors:local-key, r=cjgillot
Make local query providers receive local keys

When a query is marked `separate_provide_extern`, we can map a query key to a "local" form of the key, e.g. `DefId` -> `LocalDefId`. This simplifies a ton of code which either has to assert or use something like `expect_local` to assert that the query key is local.
Diffstat (limited to 'compiler/rustc_plugin_impl/src/errors.rs')
0 files changed, 0 insertions, 0 deletions