add some debug output
This commit is contained in:
parent
0a2ac85e3f
commit
36e5092dfa
@ -38,7 +38,8 @@ impl<'cx, 'gcx, 'tcx> At<'cx, 'gcx, 'tcx> {
|
||||
pub fn dropck_outlives(&self, ty: Ty<'tcx>) -> InferOk<'tcx, Vec<Kind<'tcx>>> {
|
||||
debug!(
|
||||
"dropck_outlives(ty={:?}, param_env={:?})",
|
||||
ty, self.param_env,
|
||||
ty,
|
||||
self.param_env,
|
||||
);
|
||||
|
||||
let tcx = self.infcx.tcx;
|
||||
|
@ -45,6 +45,12 @@ impl<'cx, 'gcx, 'tcx> At<'cx, 'gcx, 'tcx> {
|
||||
where
|
||||
T: TypeFoldable<'tcx>,
|
||||
{
|
||||
debug!(
|
||||
"normalize::<{}>(value={:?}, param_env={:?})",
|
||||
unsafe { ::std::intrinsics::type_name::<T>() },
|
||||
value,
|
||||
self.param_env,
|
||||
);
|
||||
let mut normalizer = QueryNormalizer {
|
||||
infcx: self.infcx,
|
||||
cause: self.cause,
|
||||
|
@ -30,6 +30,13 @@ impl<'cx, 'tcx> TyCtxt<'cx, 'tcx, 'tcx> {
|
||||
where
|
||||
T: TypeFoldable<'tcx>,
|
||||
{
|
||||
debug!(
|
||||
"normalize_erasing_regions::<{}>(value={:?}, param_env={:?})",
|
||||
unsafe { ::std::intrinsics::type_name::<T>() },
|
||||
value,
|
||||
param_env,
|
||||
);
|
||||
|
||||
// Erase first before we do the real query -- this keeps the
|
||||
// cache from being too polluted.
|
||||
let value = self.erase_regions(&value);
|
||||
|
Loading…
Reference in New Issue
Block a user