fn check_fn_arg_ident(pos: usize, input: &PatType) {
    if let Pat::Ident(ref path) = *input.pat {
        if path.ident == TESTFUNCTION_ARGUMENT_IDENT[pos] {
            return;
        }
    }
    abort!(
        input.span(), "Wrong function argument name";
        help = "For better readability Hive testfunctions should have the same argument names as shown in the example below.";
        example = "example: {}", FUNCTION_EXAMPLE
    );
}
/// Checks the provided function argument identifiers against the given identifiers in [`TESTFUNCTION_ARGUMENT_IDENT`]
Checks the provided function argument identifiers against the given identifiers in [`TESTFUNCTION_ARGUMENT_IDENT`]
Checks the provided function argument identifiers against the given identifiers in [ ` TESTFUNCTION_ARGUMENT_IDENT ` ]
fn check_fn_arg_ident(pos: usize, input: &PatType) {
    if let Pat::Ident(ref path) = *input.pat {
        if path.ident == TESTFUNCTION_ARGUMENT_IDENT[pos] {
            return;
        }
    }
    abort!(
        input.span(), "Wrong function argument name";
        help = "For better readability Hive testfunctions should have the same argument names as shown in the example below.";
        example = "example: {}", FUNCTION_EXAMPLE
    );
}
fn check_fn_arg_ident ( pos : usize , input : & PatType ) { if let Pat :: Ident ( ref path ) = * input . pat { if path . ident == TESTFUNCTION_ARGUMENT_IDENT [ pos ] { return ; } } abort ! ( input span ( ) " " help " " example " " FUNCTION_EXAMPLE ) ; }
Checks the provided function argument identifiers against the given identifiers in [`TESTFUNCTION_ARGUMENT_IDENT`]
Checks the provided function argument identifiers against the given identifiers in [ ` TESTFUNCTION_ARGUMENT_IDENT ` ]
pos
usize
input
&PatType