Closed Unparalleled-Calvin closed 1 week ago
Use annotate-snippets to display error messages. References:
annotate-snippets
New pub APIs to extract information from a given rustc_span:Span:
relative_pos_range
span_to_filename
span_to_line_number
span_to_source_code
Effect:
Use
annotate-snippets
to display error messages. References:New pub APIs to extract information from a given rustc_span:Span:
relative_pos_range
,span_to_filename
,span_to_line_number
,span_to_source_code
}Effect: