Searched refs:SpanRange (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/proc-macro-error/src/ |
D | lib.rs | 307 pub struct SpanRange { struct 312 impl SpanRange { argument 315 SpanRange { in single_span() 323 SpanRange::single_span(Span::call_site()) in call_site() 339 SpanRange { first, last } in from_tokens() 344 pub fn join_range(self, other: SpanRange) -> Self { in join_range() 345 SpanRange { in join_range() 500 use crate::SpanRange; 507 fn FIRST_ARG_MUST_EITHER_BE_Span_OR_IMPLEMENT_ToTokens_OR_BE_SpanRange(&self) -> SpanRange; in FIRST_ARG_MUST_EITHER_BE_Span_OR_IMPLEMENT_ToTokens_OR_BE_SpanRange() argument 512 fn FIRST_ARG_MUST_EITHER_BE_Span_OR_IMPLEMENT_ToTokens_OR_BE_SpanRange(&self) -> SpanRange; in FIRST_ARG_MUST_EITHER_BE_Span_OR_IMPLEMENT_ToTokens_OR_BE_SpanRange() argument [all …]
|
D | diagnostic.rs | 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 [all …]
|
/external/rust/crates/proc-macro-error/tests/ui/ |
D | explicit_span_range.stderr | 1 error: explicit SpanRange
|
/external/rust/crates/proc-macro-error/ |
D | CHANGELOG.md | 3 * `SpanRange` facility is now public.
|