fn make_argument<'hir>(
    ctx: &mut LoweringContext<'_, 'hir>,
    sp: Span,
    arg: &'hir Expr<'hir>,
    ty: ArgumentType
) -> Expr<'hir>
Expand description

Generate a hir expression representing an argument to a format_args invocation.

Generates:

    <core::fmt::Argument>::new_…(arg)