diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-08-08 21:12:04 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-08-08 21:12:04 +0200 |
| commit | 0d41f9145ce4f884a53fddefe0624060eb22609b (patch) | |
| tree | 457fc7956c44c27766d3f487ad6082ec190fbc0f | |
| parent | bacb4db48c7fe109a7d480b3b5b1cd03898db4a6 (diff) | |
| download | rust-0d41f9145ce4f884a53fddefe0624060eb22609b.tar.gz rust-0d41f9145ce4f884a53fddefe0624060eb22609b.zip | |
Remove unused parameter.
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/decoder.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_span/src/source_map.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_span/src/source_map/tests.rs | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/decoder.rs b/compiler/rustc_metadata/src/rmeta/decoder.rs index 4b2dcc7a70b..2a3693a360f 100644 --- a/compiler/rustc_metadata/src/rmeta/decoder.rs +++ b/compiler/rustc_metadata/src/rmeta/decoder.rs @@ -1581,7 +1581,6 @@ impl<'a, 'tcx> CrateMetadataRef<'a> { non_narrow_chars, normalized_pos, start_pos, - end_pos, source_file_index, ); debug!( 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, ); |
