☰
rustc_hir_analysis
1.75.0-dev
In rustc_hir_analysis::check::wfcheck
Structs
GATSubstCollector
WfCheckingCtxt
Enums
UnsizedHandling
Constants
HELP_FOR_SELF_TYPE
Functions
augment_param_env
check_associated_item
check_associated_type_bounds
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_object_unsafe_self_trait_by_name
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
e0307
enter_wf_checking_ctxt
error_392
gather_gat_bounds
item_adt_kind
provide
receiver_is_implemented
receiver_is_valid
region_known_to_outlive
report_bivariance
resolve_regions_with_wf_tys
ty_known_to_outlive
?
Function
rustc_hir_analysis
::
check
::
wfcheck
::
could_be_self
source
·
[
−
]
fn could_be_self(trait_def_id:
LocalDefId
, ty: &
Ty
<'_>) ->
bool