blob: 9175911cc94710b74334f7fcdd7bdaf835995263 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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::<TParam~N>() {
panic!("Atleast two parameters are incompatible");
}
}
})
};
}
pub(crate) use check_params_are_compatible;
|