Example
fail! is a panic! with location reporting.
Span::def_site().located_at(Span::call_site()).as_token()
Returns None if attr is not a doc attribute.
None
attr
attr - tokens inside #[]. e.g. derive(EqIgnoreSpan), ast_node
#[]
derive(EqIgnoreSpan)