1
Fork 0

Always go through the expn_that_defined query.

This commit is contained in:
Camille GILLOT 2021-06-04 21:37:05 +02:00
parent 835150e702
commit 507a1fdf13
4 changed files with 9 additions and 15 deletions

View file

@ -212,6 +212,7 @@ rustc_queries! {
/// Internal helper query. Use `tcx.expansion_that_defined` instead
query expn_that_defined(key: DefId) -> rustc_span::ExpnId {
eval_always
desc { |tcx| "expansion that defined `{}`", tcx.def_path_str(key) }
}