When using momo on a function that contains a mix of generic and concrete parameter types, the expansion fails to compile since momo discards the unmatched parameters:
#[derive(Debug)]
struct Test {
count: usize,
}
#[momo::momo]
fn new(count: usize) -> Test {
Test { count }
}
I would expect concrete parameters to be passed through as is.
When using
momoon a function that contains a mix of generic and concrete parameter types, the expansion fails to compile sincemomodiscards the unmatched parameters:I would expect concrete parameters to be passed through as is.