Function rustc_parse::parser::attr_wrapper::needs_tokens
source ยท fn needs_tokens(attrs: &[Attribute]) -> boolExpand description
Tokens are needed if:
- any non-single-segment attributes (other than doc comments) are present; or
- any
cfg_attrattributes are present; - any single-segment, non-builtin attributes are present.