Skip to content

Commit 0d41f91

Browse files
committed
Remove unused parameter.
1 parent bacb4db commit 0d41f91

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

compiler/rustc_metadata/src/rmeta/decoder.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,6 @@ impl<'a, 'tcx> CrateMetadataRef<'a> {
15811581
non_narrow_chars,
15821582
normalized_pos,
15831583
start_pos,
1584-
end_pos,
15851584
source_file_index,
15861585
);
15871586
debug!(

compiler/rustc_span/src/source_map.rs

-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ impl SourceMap {
336336
mut file_local_non_narrow_chars: Vec<NonNarrowChar>,
337337
mut file_local_normalized_pos: Vec<NormalizedPos>,
338338
original_start_pos: BytePos,
339-
_original_end_pos: BytePos,
340339
metadata_index: u32,
341340
) -> Lrc<SourceFile> {
342341
let start_pos = self

compiler/rustc_span/src/source_map/tests.rs

-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ fn t10() {
251251
non_narrow_chars,
252252
normalized_pos,
253253
start_pos,
254-
end_pos,
255254
0,
256255
);
257256

0 commit comments

Comments
 (0)