1
Fork 0

Remove useless method.

This commit is contained in:
Camille GILLOT 2021-03-11 12:24:56 +01:00
parent 84bf599bac
commit fe2d728e62
3 changed files with 0 additions and 17 deletions

View file

@ -250,13 +250,6 @@ impl<'a> rustc_span::HashStableContext for StableHashingContext<'a> {
&CACHE
}
fn byte_pos_to_line_and_col(
&mut self,
byte: BytePos,
) -> Option<(Lrc<SourceFile>, usize, BytePos)> {
self.source_map().byte_pos_to_line_and_col(byte)
}
fn span_data_to_lines_and_cols(
&mut self,
span: &SpanData,