File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 11#[ macro_export]
2+ #[ doc( hidden) ]
23macro_rules! _main_parse {
34 ( #[ main] $( #[ $meta: meta] ) * fn main $( $item: tt) * ) => {
45 static TESTS : $crate:: _private:: DistributedList <$crate:: _private:: DynCase > = $crate:: _private:: DistributedList :: root( ) ;
@@ -14,6 +15,7 @@ macro_rules! _main_parse {
1415}
1516
1617#[ macro_export]
18+ #[ doc( hidden) ]
1719#[ allow( clippy:: crate_in_macro_def) ] // accessing item defined by `_main_parse`/`_parse_ignore`/`_run_test`, and recursively calling the macro itself
1820macro_rules! _test_parse {
1921 // Entry point
@@ -133,6 +135,7 @@ macro_rules! _test_parse {
133135}
134136
135137#[ macro_export]
138+ #[ doc( hidden) ]
136139macro_rules! _parse_ignore {
137140 ( $context: expr, [ $reason: literal] $( , ) ?) => {
138141 $context. ignore_for( $reason) ?
@@ -144,6 +147,7 @@ macro_rules! _parse_ignore {
144147}
145148
146149#[ macro_export]
150+ #[ doc( hidden) ]
147151macro_rules! _run_test {
148152 ( $context: expr, [ $expected: literal] ) => {
149153 $crate:: panic:: assert_panic_contains( || run( $context) , $expected)
You can’t perform that action at this time.
0 commit comments