[−][src]Macro macro_helper::expansion_bucle_counted
expansion_bucle_counted!() { /* proc-macro */ }
An expansion bucle with syntax code => num when num is the number of times the code should be expanded along with a replacement of the rep_count imaginary variable at each "iteration" with values from 0 thought num-1.
The num and the code within $[] supports compile-time arithmetic operations with encoded(rep_count included) operands.
This macro can cause your code to not compile properly with a variable named rep_countsomething. Because it replaces the rep_count identifier with an integer.
Note that a zero not throws an compiler error,rather than that it expands zero times the given code.