unused into
This commit is contained in:
parent
32195ac8f4
commit
9a607c0a27
@ -364,7 +364,7 @@ pub fn emit_inference_failure_err(
|
|||||||
GenericArgKind::Lifetime(_) => bug!("unexpected lifetime"),
|
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 ty_to_string = |ty: Ty<'tcx>| -> String {
|
||||||
let mut s = String::new();
|
let mut s = String::new();
|
||||||
let mut printer = ty::print::FmtPrinter::new(self.tcx, &mut s, Namespace::TypeNS);
|
let mut printer = ty::print::FmtPrinter::new(self.tcx, &mut s, Namespace::TypeNS);
|
||||||
|
Loading…
Reference in New Issue
Block a user