Designators
The arguments of a macro are prefixed by a dollar sign $ and type annotated
with a designator:
These are some of the available designators:
blockexpris used for expressionsidentis used for variable/function namesitemliteralis used for literal constantspat(pattern)pathstmt(statement)tt(token tree)ty(type)vis(visibility qualifier)
For a complete list, see the Rust Reference.