runnables.scm

 1(mod_item
 2    name: (_) @run
 3    (#eq? @run "tests")
 4) @rust-mod-test
 5
 6(
 7    (attribute_item (attribute
 8        [((identifier) @_attribute)
 9        (scoped_identifier (identifier) @_attribute)
10            ])
11        (#eq? @_attribute "test"))
12    .
13    (attribute_item) *
14    .
15    (function_item
16        name: (_) @run)
17) @rust-test