Lines Matching refs:SpanRange
1 use crate::{abort_now, check_correctness, sealed::Sealed, SpanRange};
24 pub(crate) span_range: SpanRange,
26 pub(crate) suggestions: Vec<(SuggestionKind, String, Option<SpanRange>)>,
27 pub(crate) children: Vec<(SpanRange, String)>,
39 fn spanned_range(span_range: SpanRange, level: Level, message: String) -> Self; in spanned_range() argument
46 fn span_range_error(self, span_range: SpanRange, msg: String) -> Self; in span_range_error() argument
56 fn span_range_help(self, span_range: SpanRange, msg: String) -> Self; in span_range_help() argument
66 fn span_range_note(self, span_range: SpanRange, msg: String) -> Self; in span_range_note() argument
70 fn spanned_range(span_range: SpanRange, level: Level, message: String) -> Self { in spanned_range() argument
80 fn span_range_error(mut self, span_range: SpanRange, msg: String) -> Self { in span_range_error() argument
85 fn span_range_help(mut self, span_range: SpanRange, msg: String) -> Self { in span_range_help() argument
91 fn span_range_note(mut self, span_range: SpanRange, msg: String) -> Self { in span_range_note() argument
107 SpanRange { in spanned()
120 SpanRange { in span_error()
135 SpanRange { in span_help()
156 SpanRange { in span_note()
228 span_range: SpanRange, in to_tokens() argument
231 suggestions: &[(SuggestionKind, String, Option<SpanRange>)], in to_tokens() argument
295 fn gut_error(ts: &mut impl Iterator<Item = TokenTree>) -> Option<(SpanRange, String)> { in from()
335 Some((SpanRange { first, last }, msg)) in from()