Skip to main content

expr_to_dyn

Function expr_to_dyn 

Source
fn expr_to_dyn(
    gcx: Gcx<'_>,
    expr: &Expr<'_>,
    lookup: bool,
) -> Option<DynSolType>
Expand description

Converts an [Expr] directly to a [DynSolType] for ABI inspection.

lookup controls whether user-defined type names are resolved via the HIR.