//! Validator utilities for the crate interface.
use ;
use crategeneric_not_allowed_error;
/// Validate the function signature, rejecting generic parameters and receivers.
///
/// Returns `Err(Error)` with a compile error if:
/// - The function has generic parameters
/// - Any argument is a receiver (`self`, `&self`, `&mut self`)