Skip to content

Commit 9a607c0

Browse files
committed
unused into
1 parent 32195ac commit 9a607c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
364364
GenericArgKind::Lifetime(_) => bug!("unexpected lifetime"),
365365
};
366366

367-
let mut local_visitor = FindHirNodeVisitor::new(&self, arg.into(), span);
367+
let mut local_visitor = FindHirNodeVisitor::new(&self, arg, span);
368368
let ty_to_string = |ty: Ty<'tcx>| -> String {
369369
let mut s = String::new();
370370
let mut printer = ty::print::FmtPrinter::new(self.tcx, &mut s, Namespace::TypeNS);

0 commit comments

Comments
 (0)