if let Some(ref tr) = impl_.trait_ {
debug!(
"impl {:#} for {:#} in {}",
- tr.print(&self.ctx.cache),
- impl_.for_.print(&self.ctx.cache),
+ tr.print(&self.ctx.cache, self.ctx.tcx),
+ impl_.for_.print(&self.ctx.cache, self.ctx.tcx),
filename,
);
// inherent impls *can* be documented, and those docs show up, but in most
// cases it doesn't make sense, as all methods on a type are in one single
// impl block
- debug!("impl {:#} in {}", impl_.for_.print(&self.ctx.cache), filename);
+ debug!(
+ "impl {:#} in {}",
+ impl_.for_.print(&self.ctx.cache, self.ctx.tcx),
+ filename
+ );
}
}
_ => {