rustc_
hir_
analysis
1.84.0-dev
In rustc_
hir_
analysis::
check::
wfcheck
Structs
CollectUsageSpans
GATArgsCollector
HasErrorDeep
IsProbablyCyclical
RedundantLifetimeArgsLint
WfCheckingCtxt
Enums
ArbitrarySelfTypesLevel
UnsizedHandling
Functions
augment_param_env
check_associated_item
check_associated_type_bounds
check_dyn_incompatible_self_trait_by_name
check_fn_or_method
check_foreign_item
check_gat_where_clauses
check_impl
check_impl_item
check_item
check_item_fn
check_item_type
check_method_receiver
check_mod_type_wf
check_param_wf
check_trait
check_trait_item
check_type_defn
check_variances_for_type_defn
check_well_formed
check_where_clauses
could_be_self
enter_wf_checking_ctxt
gather_gat_bounds
lint_redundant_lifetimes
provide
receiver_is_implemented
receiver_is_valid
region_known_to_outlive
report_bivariance
test_region_obligations
ty_known_to_outlive
rustc_hir_analysis
::
check
::
wfcheck
Function
could_be_self
Copy item path
Settings
Help
Summary
Source
fn could_be_self(trait_def_id:
LocalDefId
, ty: &Ty<'_>) ->
bool