Skip to content

Commit

Permalink
fixup! Lowercase diagnostic message label
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoFreiberg committed Nov 24, 2019
1 parent 318fb9a commit 2a0292f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/traits/error_reporting.rs
Expand Up @@ -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?",
Expand Down

0 comments on commit 2a0292f

Please sign in to comment.