mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Rename span_to_string to span_to_diagnostic_string
This commit is contained in:
parent
2a3635d5d1
commit
8526acee21
@ -191,7 +191,7 @@ impl ParseSess {
|
||||
}
|
||||
|
||||
pub(crate) fn span_to_debug_info(&self, span: Span) -> String {
|
||||
self.parse_sess.source_map().span_to_string(span)
|
||||
self.parse_sess.source_map().span_to_diagnostic_string(span)
|
||||
}
|
||||
|
||||
pub(crate) fn inner(&self) -> &RawParseSess {
|
||||
|
Loading…
Reference in New Issue
Block a user