When parsing in proc_macro mode on proc_macro2, the span debug representation is just Span..Span, which is less than useful. Somewhat meaningfully, this means that the debug representation's IDENT (and other token) fields just show as Span..Span, whereas it would be more meaningful to show the content of the span, if we can't get location information.
When parsing in
proc_macro
mode onproc_macro2
, the span debug representation is justSpan..Span
, which is less than useful. Somewhat meaningfully, this means that the debug representation'sIDENT
(and other token) fields just show asSpan..Span
, whereas it would be more meaningful to show the content of the span, if we can't get location information.