You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a tt-muncher to make the "pattern" argument optional.
I tried adding support for reordering arguments, but the macro got pretty
complicated and I had trouble handling the optional trailing comma. Reordering
arguments would be much easier with a proc macro.
= note: this error originates in the macro `$crate::harness_collect` which comes from the expansion of the macro `datatest_stable::harness` (in Nightly builds, run with -Z macro-backtrace for more info)
2 | | { test = my_test, root = "abc", pattern = ".*", extra = "xyz" }
6
+
3 | | }
7
+
| |_^
8
+
|
9
+
= note: this error originates in the macro `$crate::harness_collect` which comes from the expansion of the macro `datatest_stable::harness` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::harness_collect` which comes from the expansion of the macro `datatest_stable::harness` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments