Module span

Source

Structs§

Span
A Span records what portion of the user’s input something (e.g. a lexeme or production) references (i.e. the Span doesn’t hold a reference / copy of the actual input).

Enums§

Location
A possibly inexact location which could either be a Span, a command-line option, or some other location described textually.

Traits§

Spanned
Implemented for errors and warnings to provide access to their spans.