Skip to main content

unchecked_params

Function unchecked_params 

Source
pub(crate) fn unchecked_params(
    inputs: &Punctuated<FnArg, Comma>,
    formals: &Formals,
    param: impl Fn(&str) -> Option<bool>,
    item: Option<bool>,
    impl_level: Option<bool>,
    crate_default: Option<bool>,
) -> HashSet<String>
Expand description

The R formals (formals) of the parameters of inputs whose type-derived checks are dropped, given each one’s rank-1 decision (param, keyed by Rust name) and the item, impl and crate defaults (resolve_type_checks; the feature is this macro crate’s no-preconditions-default).