Enum rustc_middle::dep_graph::DepKind [−][src]
pub enum DepKind {
Show 267 variants
Null,
TraitSelect,
CompileCodegenUnit,
CompileMonoItem,
trigger_delay_span_bug,
resolutions,
source_span,
hir_crate,
hir_module_items,
hir_owner,
hir_owner_parent,
hir_owner_nodes,
hir_attrs,
opt_const_param_of,
const_param_default,
default_anon_const_substs,
type_of,
analysis,
generics_of,
predicates_of,
explicit_item_bounds,
item_bounds,
native_libraries,
lint_levels,
parent_module_from_def_id,
expn_that_defined,
is_panic_runtime,
thir_body,
thir_tree,
mir_keys,
mir_const_qualif,
mir_const_qualif_const_arg,
mir_built,
mir_const,
thir_abstract_const,
thir_abstract_const_of_const_arg,
try_unify_abstract_consts,
mir_drops_elaborated_and_const_checked,
mir_for_ctfe,
mir_for_ctfe_of_const_arg,
mir_promoted,
symbols_for_closure_captures,
optimized_mir,
coverageinfo,
covered_file_name,
covered_code_regions,
promoted_mir,
promoted_mir_of_const_arg,
erase_regions_ty,
wasm_import_module_map,
predicates_defined_on,
trait_explicit_predicates_and_bounds,
explicit_predicates_of,
inferred_outlives_of,
super_predicates_of,
super_predicates_that_define_assoc_type,
type_param_predicates,
trait_def,
adt_def,
adt_destructor,
adt_sized_constraint,
adt_dtorck_constraint,
is_const_fn_raw,
asyncness,
is_promotable_const_fn,
is_foreign_item,
static_mutability,
generator_kind,
crate_variances,
variances_of,
inferred_outlives_crate,
associated_item_def_ids,
associated_item,
associated_items,
impl_trait_ref,
impl_polarity,
issue33140_self_ty,
inherent_impls,
unsafety_check_result,
unsafety_check_result_for_const_arg,
thir_check_unsafety,
thir_check_unsafety_for_const_arg,
unsafe_derive_on_repr_packed,
fn_sig,
lint_mod,
check_mod_attrs,
check_mod_unstable_api_usage,
check_mod_const_bodies,
check_mod_loops,
check_mod_naked_functions,
check_mod_item_types,
check_mod_privacy,
check_mod_intrinsics,
check_mod_liveness,
check_mod_impl_wf,
collect_mod_item_types,
coerce_unsized_info,
typeck_item_bodies,
typeck,
typeck_const_arg,
diagnostic_only_typeck,
used_trait_imports,
has_typeck_results,
coherent_trait,
mir_borrowck,
mir_borrowck_const_arg,
crate_inherent_impls,
crate_inherent_impls_overlap_check,
mir_callgraph_reachable,
mir_inliner_callees,
eval_to_allocation_raw,
eval_to_const_value_raw,
const_to_valtree,
destructure_const,
deref_const,
const_caller_location,
lit_to_const,
check_match,
privacy_access_levels,
check_private_in_public,
reachable_set,
region_scope_tree,
mir_shims,
symbol_name,
opt_def_kind,
def_span,
def_ident_span,
lookup_stability,
lookup_const_stability,
should_inherit_track_caller,
lookup_deprecation_entry,
item_attrs,
codegen_fn_attrs,
fn_arg_names,
rendered_const,
impl_parent,
trait_of_item,
is_ctfe_mir_available,
is_mir_available,
own_existential_vtable_entries,
vtable_entries,
vtable_trait_upcasting_coercion_new_vptr_slot,
vtable_allocation,
codegen_fulfill_obligation,
all_local_trait_impls,
trait_impls_of,
specialization_graph_of,
object_safety_violations,
param_env,
param_env_reveal_all_normalized,
is_copy_raw,
is_sized_raw,
is_freeze_raw,
is_unpin_raw,
needs_drop_raw,
has_significant_drop_raw,
has_structural_eq_impls,
adt_drop_tys,
adt_significant_drop_tys,
layout_of,
fn_abi_of_fn_ptr,
fn_abi_of_instance,
dylib_dependency_formats,
dependency_formats,
is_compiler_builtins,
has_global_allocator,
has_panic_handler,
is_profiler_runtime,
panic_strategy,
panic_in_drop_strategy,
is_no_builtins,
symbol_mangling_version,
extern_crate,
specializes,
in_scope_traits_map,
module_exports,
impl_defaultness,
impl_constness,
check_item_well_formed,
check_trait_item_well_formed,
check_impl_item_well_formed,
reachable_non_generics,
is_reachable_non_generic,
is_unreachable_local_definition,
upstream_monomorphizations,
upstream_monomorphizations_for,
upstream_drop_glue_for,
foreign_modules,
entry_fn,
proc_macro_decls_static,
crate_hash,
crate_host_hash,
extra_filename,
crate_extern_paths,
implementations_of_trait,
all_trait_implementations,
is_dllimport_foreign_item,
is_statically_included_foreign_item,
native_library_kind,
resolve_lifetimes_trait_definition,
resolve_lifetimes,
named_region_map,
is_late_bound_map,
object_lifetime_defaults_map,
late_bound_vars_map,
lifetime_scope_map,
visibility,
type_uninhabited_from,
dep_kind,
crate_name,
item_children,
extern_mod_stmt_cnum,
get_lib_features,
defined_lib_features,
get_lang_items,
all_diagnostic_items,
defined_lang_items,
diagnostic_items,
missing_lang_items,
visible_parent_map,
trimmed_def_paths,
missing_extern_crate_item,
used_crate_source,
postorder_cnums,
is_private_dep,
allocator_kind,
upvars_mentioned,
maybe_unused_trait_import,
maybe_unused_extern_crates,
names_imported_by_glob_use,
stability_index,
crates,
all_traits,
exported_symbols,
collect_and_partition_mono_items,
is_codegened_item,
codegened_and_inlined_items,
codegen_unit,
unused_generic_params,
backend_optimization_level,
output_filenames,
normalize_projection_ty,
normalize_generic_arg_after_erasing_regions,
normalize_mir_const_after_erasing_regions,
implied_outlives_bounds,
dropck_outlives,
evaluate_obligation,
evaluate_goal,
type_op_ascribe_user_type,
type_op_eq,
type_op_subtype,
type_op_prove_predicate,
type_op_normalize_ty,
type_op_normalize_predicate,
type_op_normalize_poly_fn_sig,
type_op_normalize_fn_sig,
subst_and_check_impossible_predicates,
method_autoderef_steps,
supported_target_features,
instance_def_size_estimate,
features_query,
resolve_instance,
resolve_instance_of_const_arg,
normalize_opaque_types,
conservative_is_privately_uninhabited,
limits,
diagnostic_hir_wf_check,
}
Expand description
This enum serves as an index into arrays built by make_dep_kind_array
.
Variants
Implementations
Trait Implementations
Implementation of std::fmt::Debug
for DepNode
.
Execute the operation with provided dependencies.
Auto Trait Implementations
impl RefUnwindSafe for DepKind
impl UnwindSafe for DepKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 2 bytes
Size for each variant:
Null
: 0 bytesTraitSelect
: 0 bytesCompileCodegenUnit
: 0 bytesCompileMonoItem
: 0 bytestrigger_delay_span_bug
: 0 bytesresolutions
: 0 bytessource_span
: 0 byteshir_crate
: 0 byteshir_module_items
: 0 byteshir_owner
: 0 byteshir_owner_parent
: 0 byteshir_owner_nodes
: 0 byteshir_attrs
: 0 bytesopt_const_param_of
: 0 bytesconst_param_default
: 0 bytesdefault_anon_const_substs
: 0 bytestype_of
: 0 bytesanalysis
: 0 bytesgenerics_of
: 0 bytespredicates_of
: 0 bytesexplicit_item_bounds
: 0 bytesitem_bounds
: 0 bytesnative_libraries
: 0 byteslint_levels
: 0 bytesparent_module_from_def_id
: 0 bytesexpn_that_defined
: 0 bytesis_panic_runtime
: 0 bytesthir_body
: 0 bytesthir_tree
: 0 bytesmir_keys
: 0 bytesmir_const_qualif
: 0 bytesmir_const_qualif_const_arg
: 0 bytesmir_built
: 0 bytesmir_const
: 0 bytesthir_abstract_const
: 0 bytesthir_abstract_const_of_const_arg
: 0 bytestry_unify_abstract_consts
: 0 bytesmir_drops_elaborated_and_const_checked
: 0 bytesmir_for_ctfe
: 0 bytesmir_for_ctfe_of_const_arg
: 0 bytesmir_promoted
: 0 bytessymbols_for_closure_captures
: 0 bytesoptimized_mir
: 0 bytescoverageinfo
: 0 bytescovered_file_name
: 0 bytescovered_code_regions
: 0 bytespromoted_mir
: 0 bytespromoted_mir_of_const_arg
: 0 byteserase_regions_ty
: 0 byteswasm_import_module_map
: 0 bytespredicates_defined_on
: 0 bytestrait_explicit_predicates_and_bounds
: 0 bytesexplicit_predicates_of
: 0 bytesinferred_outlives_of
: 0 bytessuper_predicates_of
: 0 bytessuper_predicates_that_define_assoc_type
: 0 bytestype_param_predicates
: 0 bytestrait_def
: 0 bytesadt_def
: 0 bytesadt_destructor
: 0 bytesadt_sized_constraint
: 0 bytesadt_dtorck_constraint
: 0 bytesis_const_fn_raw
: 0 bytesasyncness
: 0 bytesis_promotable_const_fn
: 0 bytesis_foreign_item
: 0 bytesstatic_mutability
: 0 bytesgenerator_kind
: 0 bytescrate_variances
: 0 bytesvariances_of
: 0 bytesinferred_outlives_crate
: 0 bytesassociated_item_def_ids
: 0 bytesassociated_item
: 0 bytesassociated_items
: 0 bytesimpl_trait_ref
: 0 bytesimpl_polarity
: 0 bytesissue33140_self_ty
: 0 bytesinherent_impls
: 0 bytesunsafety_check_result
: 0 bytesunsafety_check_result_for_const_arg
: 0 bytesthir_check_unsafety
: 0 bytesthir_check_unsafety_for_const_arg
: 0 bytesunsafe_derive_on_repr_packed
: 0 bytesfn_sig
: 0 byteslint_mod
: 0 bytescheck_mod_attrs
: 0 bytescheck_mod_unstable_api_usage
: 0 bytescheck_mod_const_bodies
: 0 bytescheck_mod_loops
: 0 bytescheck_mod_naked_functions
: 0 bytescheck_mod_item_types
: 0 bytescheck_mod_privacy
: 0 bytescheck_mod_intrinsics
: 0 bytescheck_mod_liveness
: 0 bytescheck_mod_impl_wf
: 0 bytescollect_mod_item_types
: 0 bytescoerce_unsized_info
: 0 bytestypeck_item_bodies
: 0 bytestypeck
: 0 bytestypeck_const_arg
: 0 bytesdiagnostic_only_typeck
: 0 bytesused_trait_imports
: 0 byteshas_typeck_results
: 0 bytescoherent_trait
: 0 bytesmir_borrowck
: 0 bytesmir_borrowck_const_arg
: 0 bytescrate_inherent_impls
: 0 bytescrate_inherent_impls_overlap_check
: 0 bytesmir_callgraph_reachable
: 0 bytesmir_inliner_callees
: 0 byteseval_to_allocation_raw
: 0 byteseval_to_const_value_raw
: 0 bytesconst_to_valtree
: 0 bytesdestructure_const
: 0 bytesderef_const
: 0 bytesconst_caller_location
: 0 byteslit_to_const
: 0 bytescheck_match
: 0 bytesprivacy_access_levels
: 0 bytescheck_private_in_public
: 0 bytesreachable_set
: 0 bytesregion_scope_tree
: 0 bytesmir_shims
: 0 bytessymbol_name
: 0 bytesopt_def_kind
: 0 bytesdef_span
: 0 bytesdef_ident_span
: 0 byteslookup_stability
: 0 byteslookup_const_stability
: 0 bytesshould_inherit_track_caller
: 0 byteslookup_deprecation_entry
: 0 bytesitem_attrs
: 0 bytescodegen_fn_attrs
: 0 bytesfn_arg_names
: 0 bytesrendered_const
: 0 bytesimpl_parent
: 0 bytestrait_of_item
: 0 bytesis_ctfe_mir_available
: 0 bytesis_mir_available
: 0 bytesown_existential_vtable_entries
: 0 bytesvtable_entries
: 0 bytesvtable_trait_upcasting_coercion_new_vptr_slot
: 0 bytesvtable_allocation
: 0 bytescodegen_fulfill_obligation
: 0 bytesall_local_trait_impls
: 0 bytestrait_impls_of
: 0 bytesspecialization_graph_of
: 0 bytesobject_safety_violations
: 0 bytesparam_env
: 0 bytesparam_env_reveal_all_normalized
: 0 bytesis_copy_raw
: 0 bytesis_sized_raw
: 0 bytesis_freeze_raw
: 0 bytesis_unpin_raw
: 0 bytesneeds_drop_raw
: 0 byteshas_significant_drop_raw
: 0 byteshas_structural_eq_impls
: 0 bytesadt_drop_tys
: 0 bytesadt_significant_drop_tys
: 0 byteslayout_of
: 0 bytesfn_abi_of_fn_ptr
: 0 bytesfn_abi_of_instance
: 0 bytesdylib_dependency_formats
: 0 bytesdependency_formats
: 0 bytesis_compiler_builtins
: 0 byteshas_global_allocator
: 0 byteshas_panic_handler
: 0 bytesis_profiler_runtime
: 0 bytespanic_strategy
: 0 bytespanic_in_drop_strategy
: 0 bytesis_no_builtins
: 0 bytessymbol_mangling_version
: 0 bytesextern_crate
: 0 bytesspecializes
: 0 bytesin_scope_traits_map
: 0 bytesmodule_exports
: 0 bytesimpl_defaultness
: 0 bytesimpl_constness
: 0 bytescheck_item_well_formed
: 0 bytescheck_trait_item_well_formed
: 0 bytescheck_impl_item_well_formed
: 0 bytesreachable_non_generics
: 0 bytesis_reachable_non_generic
: 0 bytesis_unreachable_local_definition
: 0 bytesupstream_monomorphizations
: 0 bytesupstream_monomorphizations_for
: 0 bytesupstream_drop_glue_for
: 0 bytesforeign_modules
: 0 bytesentry_fn
: 0 bytesproc_macro_decls_static
: 0 bytescrate_hash
: 0 bytescrate_host_hash
: 0 bytesextra_filename
: 0 bytescrate_extern_paths
: 0 bytesimplementations_of_trait
: 0 bytesall_trait_implementations
: 0 bytesis_dllimport_foreign_item
: 0 bytesis_statically_included_foreign_item
: 0 bytesnative_library_kind
: 0 bytesresolve_lifetimes_trait_definition
: 0 bytesresolve_lifetimes
: 0 bytesnamed_region_map
: 0 bytesis_late_bound_map
: 0 bytesobject_lifetime_defaults_map
: 0 byteslate_bound_vars_map
: 0 byteslifetime_scope_map
: 0 bytesvisibility
: 0 bytestype_uninhabited_from
: 0 bytesdep_kind
: 0 bytescrate_name
: 0 bytesitem_children
: 0 bytesextern_mod_stmt_cnum
: 0 bytesget_lib_features
: 0 bytesdefined_lib_features
: 0 bytesget_lang_items
: 0 bytesall_diagnostic_items
: 0 bytesdefined_lang_items
: 0 bytesdiagnostic_items
: 0 bytesmissing_lang_items
: 0 bytesvisible_parent_map
: 0 bytestrimmed_def_paths
: 0 bytesmissing_extern_crate_item
: 0 bytesused_crate_source
: 0 bytespostorder_cnums
: 0 bytesis_private_dep
: 0 bytesallocator_kind
: 0 bytesupvars_mentioned
: 0 bytesmaybe_unused_trait_import
: 0 bytesmaybe_unused_extern_crates
: 0 bytesnames_imported_by_glob_use
: 0 bytesstability_index
: 0 bytescrates
: 0 bytesall_traits
: 0 bytesexported_symbols
: 0 bytescollect_and_partition_mono_items
: 0 bytesis_codegened_item
: 0 bytescodegened_and_inlined_items
: 0 bytescodegen_unit
: 0 bytesunused_generic_params
: 0 bytesbackend_optimization_level
: 0 bytesoutput_filenames
: 0 bytesnormalize_projection_ty
: 0 bytesnormalize_generic_arg_after_erasing_regions
: 0 bytesnormalize_mir_const_after_erasing_regions
: 0 bytesimplied_outlives_bounds
: 0 bytesdropck_outlives
: 0 bytesevaluate_obligation
: 0 bytesevaluate_goal
: 0 bytestype_op_ascribe_user_type
: 0 bytestype_op_eq
: 0 bytestype_op_subtype
: 0 bytestype_op_prove_predicate
: 0 bytestype_op_normalize_ty
: 0 bytestype_op_normalize_predicate
: 0 bytestype_op_normalize_poly_fn_sig
: 0 bytestype_op_normalize_fn_sig
: 0 bytessubst_and_check_impossible_predicates
: 0 bytesmethod_autoderef_steps
: 0 bytessupported_target_features
: 0 bytesinstance_def_size_estimate
: 0 bytesfeatures_query
: 0 bytesresolve_instance
: 0 bytesresolve_instance_of_const_arg
: 0 bytesnormalize_opaque_types
: 0 bytesconservative_is_privately_uninhabited
: 0 byteslimits
: 0 bytesdiagnostic_hir_wf_check
: 0 bytes