From 2a0292f9aa96e32ca44ec7dc599c668fd735dbe8 Mon Sep 17 00:00:00 2001 From: Timo Freiberg Date: Sun, 24 Nov 2019 13:01:24 +0100 Subject: [PATCH] fixup! Lowercase diagnostic message label --- src/librustc/traits/error_reporting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/traits/error_reporting.rs b/src/librustc/traits/error_reporting.rs index 00b575adbce0..f8efa0b9de20 100644 --- a/src/librustc/traits/error_reporting.rs +++ b/src/librustc/traits/error_reporting.rs @@ -1079,7 +1079,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { for trait_with_same_path in traits_with_same_path { if let Some(impl_def_id) = get_trait_impl(*trait_with_same_path) { let impl_span = self.tcx.def_span(impl_def_id); - err.span_help(impl_span, "Trait impl with same name found"); + err.span_help(impl_span, "trait impl with same name found"); let trait_crate = self.tcx.crate_name(trait_with_same_path.krate); let crate_msg = format!( "Perhaps two different versions of crate `{}` are being used?",