diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-04 21:37:05 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-04 21:37:34 +0200 |
| commit | 507a1fdf138b6247e0c31bcc00e844f5293c8394 (patch) | |
| tree | c48c553766a0f11c1e53cb3843116c069930259a /compiler/rustc_middle/src/query | |
| parent | 835150e70288535bc57bb624792229b9dc94991d (diff) | |
| download | rust-507a1fdf138b6247e0c31bcc00e844f5293c8394.tar.gz rust-507a1fdf138b6247e0c31bcc00e844f5293c8394.zip | |
Always go through the expn_that_defined query.
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index f65dfea04eb..6a112a8531c 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -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) } } |
