☰
In clippy_utils
Modules
ast_utils
attrs
check_proc_macro
comparisons
consts
diagnostics
eager_or_lazy
higher
hir_utils
macros
mir
msrvs
numeric_literal
paths
ptr
qualify_min_const_fn
source
str_utils
sugg
sym_helper
ty
usage
visitors
Macros
extract_msrv_attr
maybe_path
op_utils
sym
Structs
ContainsName
HirEqInterExpr
SpanlessEq
SpanlessHash
Enums
CaptureKind
Statics
BINOP_TRAITS
OP_ASSIGN_TRAITS
TEST_ITEM_NAMES_CACHE
Traits
MaybePath
Functions
any_parent_has_attr
any_parent_is_automatically_derived
binop_traits
both
can_move_expr_to_closure
can_move_expr_to_closure_no_visit
can_mut_borrow_both
capture_local_usage
clip
contains_name
contains_return
count_eq
def_path_def_ids
def_path_res
eq_expr_value
expr_custom_deref_adjustment
expr_or_init
find_binding_init
find_primitive_impls
fn_def_id
fn_has_unsatisfiable_preds
get_async_fn_body
get_enclosing_block
get_enclosing_loop_or_multi_call_closure
get_expr_use_or_unification_node
get_item_name
get_parent_as_impl
get_parent_expr
get_parent_expr_for_hir
get_parent_node
get_trait_def_id
has_attr
has_repr_attr
hash_expr
hash_stmt
if_sequence
in_constant
int_bits
is_adjusted
is_async_fn
is_bool
is_ctor_or_promotable_const_function
is_default_equivalent
is_default_equivalent_call
is_default_equivalent_ctor
is_default_equivalent_from
is_diag_item_method
is_diag_trait_item
is_diagnostic_ctor
is_diagnostic_item_or_ctor
is_direct_expn_of
is_else_clause
is_entrypoint_fn
is_expn_of
is_expr_final_block_expr
is_expr_identity_function
is_expr_path_def_path
is_expr_used_or_unified
is_from_proc_macro
is_hir_ty_cfg_dependant
is_in_cfg_test
is_in_panic_handler
is_in_test_function
is_integer_const
is_integer_literal
is_lang_item_or_ctor
is_lint_allowed
is_must_use_func_call
is_no_core_crate
is_no_std_crate
is_path_diagnostic_item
is_path_lang_item
is_refutable
is_res_diagnostic_ctor
is_res_lang_ctor
is_self
is_self_ty
is_slice_of_primitives
is_span_if
is_span_match
is_test_module_or_function
is_trait_impl_item
is_trait_item
is_trait_method
is_try
is_unit_expr
is_wild
item_children_by_name
iter_input_pats
last_path_segment
local_item_children_by_name
match_any_def_paths
match_def_path
match_function_call
match_function_call_with_def_id
match_libc_symbol
match_path
match_qpath
match_trait_method
method_calls
method_chain_args
non_local_item_children_by_name
nth_arg
over
path_def_id
path_res
path_to_local
path_to_local_id
peel_blocks
peel_blocks_with_stmt
peel_hir_expr_refs
peel_hir_expr_while
peel_hir_pat_refs
peel_hir_ty_refs
peel_n_hir_expr_refs
peel_ref_operators
projection_stack
qpath_generic_tys
recurse_or_patterns
return_ty
search_same
sext
span_contains_comment
span_extract_comment
std_or_core
strip_pat_refs
trait_ref_of_method
unsext
walk_to_expr_usage
with_test_item_names
Type Definitions
MethodArguments
?
Function
clippy_utils
::
item_children_by_name
source
·
[
−
]
pub(crate) fn item_children_by_name(
tcx:
TyCtxt
<'_>,
def_id:
DefId
,
name:
Symbol
) ->
Vec
<
Res
>