We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec6d78f commit cde33b5Copy full SHA for cde33b5
crates/libtest2/src/macros.rs
@@ -1,8 +1,9 @@
1
#[macro_export]
2
macro_rules! _main_parse {
3
- (#[main] fn main $($item:tt)*) => {
+ (#[main] $(#[$meta:meta])* fn main $($item:tt)*) => {
4
static TESTS: $crate::_private::DistributedList<$crate::_private::DynCase> = $crate::_private::DistributedList::root();
5
6
+ $(#[$meta])*
7
fn main() {
8
fn inner $($item)*
9
0 commit comments