[][src]Module rustc_ap_rustc_ast::attr

Functions dealing with attributes and meta items.

Structs

Globals

Statics

GLOBALS

Traits

HasAttrs

Functions

contains_name
filter_by_name
find_by_name
first_attr_value_str_by_name
is_known
is_known_lint_tool
is_used
list_contains_name
mark_known
mark_used
mk_attr
mk_attr_from_item
mk_attr_inner

Returns an inner attribute with the given value and span.

mk_attr_outer

Returns an outer attribute with the given value and span.

mk_doc_comment
mk_list_item
mk_name_value_item
mk_name_value_item_str
mk_nested_word_item
mk_word_item
with_default_globals
with_globals