File tree 3 files changed +0
-17
lines changed
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> {
250
250
& CACHE
251
251
}
252
252
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
-
260
253
fn span_data_to_lines_and_cols (
261
254
& mut self ,
262
255
span : & SpanData ,
Original file line number Diff line number Diff line change @@ -1362,12 +1362,6 @@ fn update_disambiguator(expn_id: ExpnId) {
1362
1362
fn hash_spans ( & self ) -> bool {
1363
1363
true
1364
1364
}
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
- }
1371
1365
fn span_data_to_lines_and_cols (
1372
1366
& mut self ,
1373
1367
span : & crate :: SpanData ,
Original file line number Diff line number Diff line change @@ -1874,10 +1874,6 @@ pub trait HashStableContext {
1874
1874
fn expn_id_cache ( ) -> & ' static LocalKey < ExpnIdCache > ;
1875
1875
fn hash_crate_num ( & mut self , _: CrateNum , hasher : & mut StableHasher ) ;
1876
1876
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 ) > ;
1881
1877
fn span_data_to_lines_and_cols (
1882
1878
& mut self ,
1883
1879
span : & SpanData ,
You can’t perform that action at this time.
0 commit comments