We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.iter_mut()
1 parent 7a807c5 commit 9d73176Copy full SHA for 9d73176
src/librustc_errors/emitter.rs
@@ -1655,7 +1655,7 @@ impl FileWithAnnotatedLines {
1655
line_index: usize,
1656
ann: Annotation) {
1657
1658
- for slot in file_vec.iter_mut() {
+ for slot in file_vec {
1659
// Look through each of our files for the one we're adding to
1660
if slot.file.name == file.name {
1661
// See if we already have a line for it
0 commit comments