This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -250,13 +250,6 @@ impl<'a> rustc_span::HashStableContext for StableHashingContext<'a> {
250250 & CACHE
251251 }
252252
253- fn byte_pos_to_line_and_col (
254- & mut self ,
255- byte : BytePos ,
256- ) -> Option < ( Lrc < SourceFile > , usize , BytePos ) > {
257- self . source_map ( ) . byte_pos_to_line_and_col ( byte)
258- }
259-
260253 fn span_data_to_lines_and_cols (
261254 & mut self ,
262255 span : & SpanData ,
Original file line number Diff line number Diff line change @@ -1362,12 +1362,6 @@ fn update_disambiguator(expn_id: ExpnId) {
13621362 fn hash_spans ( & self ) -> bool {
13631363 true
13641364 }
1365- fn byte_pos_to_line_and_col (
1366- & mut self ,
1367- byte : BytePos ,
1368- ) -> Option < ( Lrc < SourceFile > , usize , BytePos ) > {
1369- self . caching_source_map . byte_pos_to_line_and_col ( byte)
1370- }
13711365 fn span_data_to_lines_and_cols (
13721366 & mut self ,
13731367 span : & crate :: SpanData ,
Original file line number Diff line number Diff line change @@ -1874,10 +1874,6 @@ pub trait HashStableContext {
18741874 fn expn_id_cache ( ) -> & ' static LocalKey < ExpnIdCache > ;
18751875 fn hash_crate_num ( & mut self , _: CrateNum , hasher : & mut StableHasher ) ;
18761876 fn hash_spans ( & self ) -> bool ;
1877- fn byte_pos_to_line_and_col (
1878- & mut self ,
1879- byte : BytePos ,
1880- ) -> Option < ( Lrc < SourceFile > , usize , BytePos ) > ;
18811877 fn span_data_to_lines_and_cols (
18821878 & mut self ,
18831879 span : & SpanData ,
You can’t perform that action at this time.
0 commit comments