Type Alias UnexpectedExprKind

Source
type UnexpectedExprKind<'a> = Result<(Diag<'a>, bool), ErrorGuaranteed>;
Expand description
  • Ok is returned when the conversion to a string literal is unsuccessful, but another type of expression is obtained instead.
  • Err is returned when the conversion process fails.

Aliased Type§

enum UnexpectedExprKind<'a> {
    Ok((Diag<'a>, bool)),
    Err(ErrorGuaranteed),
}

Variants§

§

Ok((Diag<'a>, bool))

Contains the success value

§

Err(ErrorGuaranteed)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.