Skip to content

Commit 2a0292f

Browse files
committed
fixup! Lowercase diagnostic message label
1 parent 318fb9a commit 2a0292f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/traits/error_reporting.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
10791079
for trait_with_same_path in traits_with_same_path {
10801080
if let Some(impl_def_id) = get_trait_impl(*trait_with_same_path) {
10811081
let impl_span = self.tcx.def_span(impl_def_id);
1082-
err.span_help(impl_span, "Trait impl with same name found");
1082+
err.span_help(impl_span, "trait impl with same name found");
10831083
let trait_crate = self.tcx.crate_name(trait_with_same_path.krate);
10841084
let crate_msg = format!(
10851085
"Perhaps two different versions of crate `{}` are being used?",

0 commit comments

Comments
 (0)