Enum syntax::codemap::SpanSnippetError [−][src]
pub enum SpanSnippetError { IllFormedSpan(Span), DistinctSources(DistinctSources), MalformedForCodemap(MalformedCodemapPositions), SourceNotAvailable { filename: FileName, }, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Variants
IllFormedSpan(Span)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
DistinctSources(DistinctSources)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
MalformedForCodemap(MalformedCodemapPositions)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
SourceNotAvailable
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields of SourceNotAvailable
filename: FileName | 🔬 This is a nightly-only experimental API. ( |
Trait Implementations
impl Debug for SpanSnippetError
[src]
impl Debug for SpanSnippetError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Eq for SpanSnippetError
[src]
impl Eq for SpanSnippetError
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl PartialEq<SpanSnippetError> for SpanSnippetError
[src]
impl PartialEq<SpanSnippetError> for SpanSnippetError
fn eq(&self, other: &SpanSnippetError) -> bool
[src]
fn eq(&self, other: &SpanSnippetError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SpanSnippetError) -> bool
[src]
fn ne(&self, other: &SpanSnippetError) -> bool
This method tests for !=
.
impl Clone for SpanSnippetError
[src]
impl Clone for SpanSnippetError
fn clone(&self) -> SpanSnippetError
[src]
fn clone(&self) -> SpanSnippetError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for SpanSnippetError
impl !Send for SpanSnippetError
impl !Sync for SpanSnippetError
impl !Sync for SpanSnippetError