1 2 3 4 5 6 7 8 9 10 11
use crate::OpSpec; use super::error::CoverageError; pub(super) fn check_signature(spec: &OpSpec, errors: &mut Vec<CoverageError>) { if spec.signature.inputs.is_empty() { errors.push(CoverageError::EmptySignature { op_id: spec.id.to_string(), }); } }