pub fn no_args(input: TokenStream) -> TokenStreamExpand description
Implementation of the __no_args! proc macro.
Generates a “does not accept arguments” error with the span pointing to the arguments.
Input: "ns::attr", token
Output: compile_error!("ns::attr does not accept arguments") with span on token