Struct regex_syntax::hir::Error [] [src]

pub struct Error { /* fields omitted */ }

An error that can occur while translating an Ast to a Hir.

Methods

impl Error
[src]

[src]

Return the type of this error.

[src]

The original pattern string in which this error occurred.

Every span reported by this error is reported in terms of this string.

[src]

Return the span at which this error occurred.

Trait Implementations

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Error
[src]

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error