Add instrument and debug calls
This commit is contained in:
parent
3c72788461
commit
e3a738a942
8 changed files with 33 additions and 15 deletions
|
@ -434,6 +434,7 @@ impl<'tcx> WfPredicates<'tcx> {
|
|||
}
|
||||
|
||||
/// Pushes all the predicates needed to validate that `ty` is WF into `out`.
|
||||
#[instrument(level = "debug", skip(self))]
|
||||
fn compute(&mut self, arg: GenericArg<'tcx>) {
|
||||
let mut walker = arg.walk();
|
||||
let param_env = self.param_env;
|
||||
|
@ -488,6 +489,8 @@ impl<'tcx> WfPredicates<'tcx> {
|
|||
}
|
||||
};
|
||||
|
||||
debug!("wf bounds for ty={:?} ty.kind={:#?}", ty, ty.kind());
|
||||
|
||||
match *ty.kind() {
|
||||
ty::Bool
|
||||
| ty::Char
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue