macro_rules! check_params_are_compatible { ($excluded_index: tt, $param: ident, $cnt: tt) => { seq!(N in 0..=$cnt { if N != $excluded_index { if !$param::is_compatible::() { panic!("Atleast two parameters are incompatible"); } } }) }; } pub(crate) use check_params_are_compatible;