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
|
@ -59,7 +59,7 @@ fn associated_type_bounds<'tcx>(
|
|||
/// impl trait it isn't possible to write a suitable predicate on the
|
||||
/// containing function and for type-alias impl trait we don't have a backwards
|
||||
/// compatibility issue.
|
||||
#[instrument(level = "trace", skip(tcx), ret)]
|
||||
#[instrument(level = "trace", skip(tcx, item_ty))]
|
||||
fn opaque_type_bounds<'tcx>(
|
||||
tcx: TyCtxt<'tcx>,
|
||||
opaque_def_id: LocalDefId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue