Always go through the expn_that_defined query.
This commit is contained in:
parent
835150e702
commit
507a1fdf13
4 changed files with 9 additions and 15 deletions
|
@ -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) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue