From 0abb1abf04da1dd5a709614f443b57d973d438ba Mon Sep 17 00:00:00 2001 From: Bastian Kauschke Date: Wed, 23 Sep 2020 10:06:32 +0200 Subject: [PATCH] unused path --- .../rustc_infer/src/infer/error_reporting/need_type_info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs b/compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs index f17492674ab..bea1ab519f1 100644 --- a/compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs +++ b/compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs @@ -316,7 +316,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { printer.region_highlight_mode = highlight; } let _ = ct.print(printer); - (s, None, "".into(), None, None) + (s, None, "value".into(), None, None) } GenericArgKind::Lifetime(_) => bug!("unexpected lifetime"), }