Modules

Macros

fail! is a panic! with location reporting.

Functions

Span::def_site().located_at(Span::call_site()).as_token()
Returns None if attr is not a doc attribute.
Creates a doc comment.
attr - tokens inside #[]. e.g. derive(EqIgnoreSpan), ast_node