error: Template expects exactly one group but found 15. Use #each for iteration or add filtering.
--> tests/compile_fail/implicit_multiple_groups.rs:7:38
|
7 | csv_template!("../products.csv", {
| ______________________________________^
8 | | pub const #CONST({name}_PRICE): f64 = #({price}_f64);
9 | | });
| |_____^
error[E0308]: mismatched types
--> tests/compile_fail/implicit_multiple_groups.rs:7:5
|
7 | / csv_template!("../products.csv", {
8 | | pub const #CONST({name}_PRICE): f64 = #({price}_f64);
9 | | });
| |______^ expected `f64`, found `&str`
|
= note: this error originates in the macro `csv_template` (in Nightly builds, run with -Z macro-backtrace for more info)