unused into

This commit is contained in:
Bastian Kauschke 2020-09-26 10:31:34 +02:00
parent 32195ac8f4
commit 9a607c0a27
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
GenericArgKind::Lifetime(_) => bug!("unexpected lifetime"),
};
let mut local_visitor = FindHirNodeVisitor::new(&self, arg.into(), span);
let mut local_visitor = FindHirNodeVisitor::new(&self, arg, span);
let ty_to_string = |ty: Ty<'tcx>| -> String {
let mut s = String::new();
let mut printer = ty::print::FmtPrinter::new(self.tcx, &mut s, Namespace::TypeNS);