about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-08-08 21:12:04 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-08-08 21:12:04 +0200
commit0d41f9145ce4f884a53fddefe0624060eb22609b (patch)
tree457fc7956c44c27766d3f487ad6082ec190fbc0f /compiler/rustc_span
parentbacb4db48c7fe109a7d480b3b5b1cd03898db4a6 (diff)
downloadrust-0d41f9145ce4f884a53fddefe0624060eb22609b.tar.gz
rust-0d41f9145ce4f884a53fddefe0624060eb22609b.zip
Remove unused parameter.
Diffstat (limited to 'compiler/rustc_span')
-rw-r--r--compiler/rustc_span/src/source_map.rs1
-rw-r--r--compiler/rustc_span/src/source_map/tests.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_span/src/source_map.rs b/compiler/rustc_span/src/source_map.rs
index c0fbb7f2c9f..108b169e306 100644
--- a/compiler/rustc_span/src/source_map.rs
+++ b/compiler/rustc_span/src/source_map.rs
@@ -336,7 +336,6 @@ impl SourceMap {
         mut file_local_non_narrow_chars: Vec<NonNarrowChar>,
         mut file_local_normalized_pos: Vec<NormalizedPos>,
         original_start_pos: BytePos,
-        _original_end_pos: BytePos,
         metadata_index: u32,
     ) -> Lrc<SourceFile> {
         let start_pos = self
diff --git a/compiler/rustc_span/src/source_map/tests.rs b/compiler/rustc_span/src/source_map/tests.rs
index 2cada019b7f..3058ec45a64 100644
--- a/compiler/rustc_span/src/source_map/tests.rs
+++ b/compiler/rustc_span/src/source_map/tests.rs
@@ -251,7 +251,6 @@ fn t10() {
         non_narrow_chars,
         normalized_pos,
         start_pos,
-        end_pos,
         0,
     );