pub macro test($item:item) {
    ...
}
Available on non-crate feature miri-test-libstd only.
Expand description

Attribute macro applied to a function to turn it into a unit test.

See the reference for more info.