We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3635d commit 8526aceCopy full SHA for 8526ace
src/syntux/session.rs
@@ -191,7 +191,7 @@ impl ParseSess {
191
}
192
193
pub(crate) fn span_to_debug_info(&self, span: Span) -> String {
194
- self.parse_sess.source_map().span_to_string(span)
+ self.parse_sess.source_map().span_to_diagnostic_string(span)
195
196
197
pub(crate) fn inner(&self) -> &RawParseSess {
0 commit comments