Allow tracing through item_bounds query invocations on opaques
Previously these caused cycles when printing the result
This commit is contained in:
parent
9889a6f5d3
commit
393dea8bc3
2 changed files with 4 additions and 2 deletions
|
@ -620,7 +620,9 @@ macro_rules! define_queries {
|
|||
tcx,
|
||||
{
|
||||
let ret = call_provider!([$($modifiers)*][tcx, $name, key]);
|
||||
tracing::trace!(?ret);
|
||||
rustc_middle::ty::print::with_reduced_queries!({
|
||||
tracing::trace!(?ret);
|
||||
});
|
||||
ret
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue