Skip to content

Commit 1fb838d

Browse files
committed
auto merge of #17420 : anchovieshat/rust/grammar, r=huonw
Fix grammar (double "note") in situations like: src/reader/events.rs:120:5: 120:25 **note: note** conflicting type here src/reader/events.rs:120 Error(common::Error)
2 parents d7e1bb5 + 88b98a0 commit 1fb838d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/resolve.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2928,7 +2928,7 @@ impl<'a> Resolver<'a> {
29282928
Some(span) => {
29292929
self.session
29302930
.span_note(span,
2931-
"note conflicting value here");
2931+
"conflicting value here");
29322932
}
29332933
}
29342934
}
@@ -2951,7 +2951,7 @@ impl<'a> Resolver<'a> {
29512951
Some(span) => {
29522952
self.session
29532953
.span_note(span,
2954-
"note conflicting type here")
2954+
"conflicting type here")
29552955
}
29562956
}
29572957
}

0 commit comments

Comments
 (0)