pub(crate) fn matches_contract(
filter: &dyn TestFilter,
path: &Path,
contract_name: &str,
contract_id: &str,
functions: impl IntoIterator<Item = impl Borrow<Function>>,
test_function_kind: impl Fn(&Function) -> TestFunctionKind,
) -> bool