Some perf optimizations and logging
This commit is contained in:
parent
32c447e179
commit
d954a8ee8e
10 changed files with 24 additions and 14 deletions
|
@ -85,6 +85,7 @@ pub fn trait_obligations<'a, 'tcx>(
|
|||
let mut wf =
|
||||
WfPredicates { infcx, param_env, body_id, span, out: vec![], recursion_depth: 0, item };
|
||||
wf.compute_trait_ref(trait_ref, Elaborate::All);
|
||||
debug!(obligations = ?wf.out);
|
||||
wf.normalize()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue