Attribute Macro needs

Source
#[needs]
Expand description

A marker attribute to indicate a specific need for an item (e.g., function). Accepts a string literal describing the need, like #[needs("refactoring")]. Can be applied multiple times to the same item. This attribute does not modify the item it annotates.