rustc_
ast
1.90.0
(1159e78c4 2025-09-14)
In rustc_
ast::
attr
rustc_ast
::
attr
Function
find_by_name
Copy item path
Source
pub fn find_by_name<A:
AttributeExt
>(attrs: &
[A]
, name:
Symbol
) ->
Option
<
&A
>