Home
last modified time | relevance | path

Searched defs:SpanSnippetError (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/rust/compiler/rustc_span/src/
Dsource_map.rs600 fn span_to_source<F, T>(&self, sp: Span, extract_source: F) -> Result<T, SpanSnippetError> in span_to_source() argument
646 pub fn span_to_snippet(&self, sp: Span) -> Result<String, SpanSnippetError> { in span_to_snippet() argument
671 pub fn span_to_prev_source(&self, sp: Span) -> Result<String, SpanSnippetError> { in span_to_prev_source() argument
729 pub fn span_to_next_source(&self, sp: Span) -> Result<String, SpanSnippetError> { in span_to_next_source() argument
740 ) -> Result<Span, SpanSnippetError> { in span_extend_while() argument
752 ) -> Result<Span, SpanSnippetError> { in span_extend_prev_while() argument
Dlib.rs2064 pub enum SpanSnippetError { enum
/third_party/rust/rust/compiler/rustc_parse/src/parser/
Ddiagnostics.rs269 pub(super) fn span_to_snippet(&self, span: Span) -> Result<String, SpanSnippetError> { in span_to_snippet() argument