]> git.lizzy.rs Git - rust.git/commitdiff
Remove unused parameter.
authorCamille GILLOT <gillot.camille@gmail.com>
Mon, 8 Aug 2022 19:12:04 +0000 (21:12 +0200)
committerCamille GILLOT <gillot.camille@gmail.com>
Mon, 8 Aug 2022 19:12:04 +0000 (21:12 +0200)
compiler/rustc_metadata/src/rmeta/decoder.rs
compiler/rustc_span/src/source_map.rs
compiler/rustc_span/src/source_map/tests.rs

index 4b2dcc7a70bc4de3812f3f938309a0eef39b2889..2a3693a360f210143762c38e21bac74376f512a1 100644 (file)
@@ -1581,7 +1581,6 @@ fn filter<'a>(sess: &Session, path: Option<&'a Path>) -> Option<&'a Path> {
                     non_narrow_chars,
                     normalized_pos,
                     start_pos,
-                    end_pos,
                     source_file_index,
                 );
                 debug!(
index c0fbb7f2c9f8e61d93b8616ef8d83b486e20cfea..108b169e3063137b694154c546c8d0ab5e98388c 100644 (file)
@@ -336,7 +336,6 @@ pub fn new_imported_source_file(
         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
index 2cada019b7f84788e8e7c701c07a2920deb49498..3058ec45a6468d96a5557863d764f07cd5ad6e4e 100644 (file)
@@ -251,7 +251,6 @@ fn t10() {
         non_narrow_chars,
         normalized_pos,
         start_pos,
-        end_pos,
         0,
     );