pub fn check(f: &ItemFn) -> Result<()>
Verifies the signature and body, rejecting calls, attributes, captured variables, allocations and target-dependent arithmetic.