Skip to content

Commit 8526ace

Browse files
cbeuwcalebcartwright
authored andcommitted
Rename span_to_string to span_to_diagnostic_string
1 parent 2a3635d commit 8526ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/syntux/session.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl ParseSess {
191191
}
192192

193193
pub(crate) fn span_to_debug_info(&self, span: Span) -> String {
194-
self.parse_sess.source_map().span_to_string(span)
194+
self.parse_sess.source_map().span_to_diagnostic_string(span)
195195
}
196196

197197
pub(crate) fn inner(&self) -> &RawParseSess {

0 commit comments

Comments
 (0)