☰
In rustc_ast::attr
In rustc_ast::attr
Structs
AttrIdGenerator
MarkedAttrs
Statics
MAX_ATTR_ID
Functions
list_contains_name
mk_attr
mk_attr_from_item
mk_attr_inner
mk_attr_outer
mk_doc_comment
mk_list_item
mk_name_value_item
mk_name_value_item_str
mk_nested_word_item
mk_word_item
?
Function
rustc_ast
::
attr
::
list_contains_name
source
·
[
−
]
pub fn list_contains_name(items: &[
NestedMetaItem
], name:
Symbol
) ->
bool