I will have struct with possibly many Iterator generics, like
struct Generator<A:Iterator, B:Iterator>etc .. {}
So when impl these struct it could be a pain, like
impl<A:Itera>etc ..... Iterator for Generator<A, B, C ....etc>
So i'm rusty and i want to write a macro for that !
error: `$r#type:ty` is followed by `<`, which is not allowed for `ty` fragments
--> src\std\sin.rs:20:27
|
20 | ($trait:path, $type:ty<$($gen:ident),+> { $($inner:tt)* } ) => {
| ^ not allowed after `ty` fragments
|
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`