Some macros like the xref macro are always an inline macro, not a block macro.

Therefore the name of the macro must not be followed by two colons (::), but a single colon (:).