[][src]Struct libslide::parser::errors::ExpectedExpr

pub(crate) struct ExpectedExpr;

This error fires on token sequences that are expected to parse as an expression, but do not.

The following are examples of slide programs that emit this error:

1 + +
    ^- offending token
1 / )
    ^- offending token
1 /
   ^- offending token: end of file

In all cases such programs are malformed and should be refactored to include complete expressions.

Trait Implementations

impl DiagnosticRecord for ExpectedExpr[src]

Auto Trait Implementations

impl RefUnwindSafe for ExpectedExpr

impl Send for ExpectedExpr

impl Sync for ExpectedExpr

impl Unpin for ExpectedExpr

impl UnwindSafe for ExpectedExpr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.