Skip to main content

lower_assert_body

Function lower_assert_body 

Source
pub fn lower_assert_body(
    body: &AssertBody,
    ctx: ExprLoweringContext<'_>,
) -> Result<AssertBody, ExprLowerError>
Expand description

Lower a syntax assertion body into HIR, rejecting unresolved references.

ยงErrors

Returns the first ExprLowerError if any reference cannot be resolved.