pub trait MultiSpan {
    fn into_spans(self) -> Vec<Span>;
}
🔬 This is a nightly-only experimental API. (proc_macro_diagnostic #54140)
Expand description

Trait implemented by types that can be converted into a set of Spans.

Required Methods

🔬 This is a nightly-only experimental API. (proc_macro_diagnostic #54140)

Converts self into a Vec<Span>.

Implementations on Foreign Types

🔬 This is a nightly-only experimental API. (proc_macro_diagnostic #54140)
🔬 This is a nightly-only experimental API. (proc_macro_diagnostic #54140)

Implementors