I meet another problem about generic, code as following
enum DTNodeVaule<T, U, F: Fn(T)-> usize> {
Finished(U),
Classfy(F),
}
compile error again:
parameter `T` is never used
unused parameter
help: consider removing `T`, referring to it in a field, or using a marker such as `std::marker::PhantomData`rustc(E0392)
I met a similar problem a few day ago, but that time is a struct.
this time is about enum
neither associated type nor marker::phantomdata is not works
how can I do, please help, thanks