Function typeck_naked_fn

Source
pub(crate) fn typeck_naked_fn<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: LocalDefId,
    body: &'tcx Body<'tcx>,
)
Expand description

Naked fns can only have trivial binding patterns in arguments, may not actually use those arguments, and the body must consist of just a single asm statement.