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§
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.