Skip to main content
find_by_name
rustc_
ast
1.100.0-beta.13
(3b0202dcd 2026-11-07)
In rustc_
ast::
attr
rustc_ast
::
attr
Function
find_
by_
name
Copy item path
Source
pub fn find_by_name(attrs: &[
Attribute
], name:
Symbol
) ->
Option
<&
Attribute
>