[][src]Module rustc_ast::attr

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Functions dealing with attributes and meta items.

Structs

SessionGlobalsInternal

Statics

SESSION_GLOBALSInternal

Traits

HasAttrsInternal

Functions

contains_nameInternal
filter_by_nameInternal
find_by_nameInternal
first_attr_value_str_by_nameInternal
is_knownInternal
is_known_lint_toolInternal
is_usedInternal
list_contains_nameInternal
mark_knownInternal
mark_usedInternal
mk_attrInternal
mk_attr_from_itemInternal
mk_attr_idInternal
mk_attr_innerInternal

Returns an inner attribute with the given value and span.

mk_attr_outerInternal

Returns an outer attribute with the given value and span.

mk_doc_commentInternal
mk_list_itemInternal
mk_name_value_itemInternal
mk_name_value_item_strInternal
mk_nested_word_itemInternal
mk_word_itemInternal
with_default_session_globalsInternal
with_session_globalsInternal