pub enum DepKind {
Show 266 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, 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_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_item_implementor_ids, 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, orphan_check_crate, 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_reexports, 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, 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, module_children, extern_mod_stmt_cnum, 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, traits_in_crate, 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, try_normalize_generic_arg_after_erasing_regions, try_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

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

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_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_item_implementor_ids

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

orphan_check_crate

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_reexports

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

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

module_children

extern_mod_stmt_cnum

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

traits_in_crate

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

try_normalize_generic_arg_after_erasing_regions

try_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

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Implementation of std::fmt::Debug for DepNode.

Execute the operation with provided dependencies.

Access dependencies from current implicit context.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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 bytes
  • TraitSelect: 0 bytes
  • CompileCodegenUnit: 0 bytes
  • CompileMonoItem: 0 bytes
  • trigger_delay_span_bug: 0 bytes
  • resolutions: 0 bytes
  • source_span: 0 bytes
  • hir_crate: 0 bytes
  • hir_module_items: 0 bytes
  • hir_owner: 0 bytes
  • hir_owner_parent: 0 bytes
  • hir_owner_nodes: 0 bytes
  • hir_attrs: 0 bytes
  • opt_const_param_of: 0 bytes
  • const_param_default: 0 bytes
  • type_of: 0 bytes
  • analysis: 0 bytes
  • generics_of: 0 bytes
  • predicates_of: 0 bytes
  • explicit_item_bounds: 0 bytes
  • item_bounds: 0 bytes
  • native_libraries: 0 bytes
  • lint_levels: 0 bytes
  • parent_module_from_def_id: 0 bytes
  • expn_that_defined: 0 bytes
  • is_panic_runtime: 0 bytes
  • thir_body: 0 bytes
  • thir_tree: 0 bytes
  • mir_keys: 0 bytes
  • mir_const_qualif: 0 bytes
  • mir_const_qualif_const_arg: 0 bytes
  • mir_built: 0 bytes
  • mir_const: 0 bytes
  • thir_abstract_const: 0 bytes
  • thir_abstract_const_of_const_arg: 0 bytes
  • try_unify_abstract_consts: 0 bytes
  • mir_drops_elaborated_and_const_checked: 0 bytes
  • mir_for_ctfe: 0 bytes
  • mir_for_ctfe_of_const_arg: 0 bytes
  • mir_promoted: 0 bytes
  • symbols_for_closure_captures: 0 bytes
  • optimized_mir: 0 bytes
  • coverageinfo: 0 bytes
  • covered_code_regions: 0 bytes
  • promoted_mir: 0 bytes
  • promoted_mir_of_const_arg: 0 bytes
  • erase_regions_ty: 0 bytes
  • wasm_import_module_map: 0 bytes
  • predicates_defined_on: 0 bytes
  • trait_explicit_predicates_and_bounds: 0 bytes
  • explicit_predicates_of: 0 bytes
  • inferred_outlives_of: 0 bytes
  • super_predicates_of: 0 bytes
  • super_predicates_that_define_assoc_type: 0 bytes
  • type_param_predicates: 0 bytes
  • trait_def: 0 bytes
  • adt_def: 0 bytes
  • adt_destructor: 0 bytes
  • adt_sized_constraint: 0 bytes
  • adt_dtorck_constraint: 0 bytes
  • is_const_fn_raw: 0 bytes
  • asyncness: 0 bytes
  • is_promotable_const_fn: 0 bytes
  • is_foreign_item: 0 bytes
  • static_mutability: 0 bytes
  • generator_kind: 0 bytes
  • crate_variances: 0 bytes
  • variances_of: 0 bytes
  • inferred_outlives_crate: 0 bytes
  • associated_item_def_ids: 0 bytes
  • associated_item: 0 bytes
  • associated_items: 0 bytes
  • impl_item_implementor_ids: 0 bytes
  • impl_trait_ref: 0 bytes
  • impl_polarity: 0 bytes
  • issue33140_self_ty: 0 bytes
  • inherent_impls: 0 bytes
  • unsafety_check_result: 0 bytes
  • unsafety_check_result_for_const_arg: 0 bytes
  • thir_check_unsafety: 0 bytes
  • thir_check_unsafety_for_const_arg: 0 bytes
  • unsafe_derive_on_repr_packed: 0 bytes
  • fn_sig: 0 bytes
  • lint_mod: 0 bytes
  • check_mod_attrs: 0 bytes
  • check_mod_unstable_api_usage: 0 bytes
  • check_mod_const_bodies: 0 bytes
  • check_mod_loops: 0 bytes
  • check_mod_naked_functions: 0 bytes
  • check_mod_item_types: 0 bytes
  • check_mod_privacy: 0 bytes
  • check_mod_intrinsics: 0 bytes
  • check_mod_liveness: 0 bytes
  • check_mod_impl_wf: 0 bytes
  • collect_mod_item_types: 0 bytes
  • coerce_unsized_info: 0 bytes
  • typeck_item_bodies: 0 bytes
  • typeck: 0 bytes
  • typeck_const_arg: 0 bytes
  • diagnostic_only_typeck: 0 bytes
  • used_trait_imports: 0 bytes
  • has_typeck_results: 0 bytes
  • coherent_trait: 0 bytes
  • mir_borrowck: 0 bytes
  • mir_borrowck_const_arg: 0 bytes
  • crate_inherent_impls: 0 bytes
  • crate_inherent_impls_overlap_check: 0 bytes
  • orphan_check_crate: 0 bytes
  • mir_callgraph_reachable: 0 bytes
  • mir_inliner_callees: 0 bytes
  • eval_to_allocation_raw: 0 bytes
  • eval_to_const_value_raw: 0 bytes
  • const_to_valtree: 0 bytes
  • destructure_const: 0 bytes
  • deref_const: 0 bytes
  • const_caller_location: 0 bytes
  • lit_to_const: 0 bytes
  • check_match: 0 bytes
  • privacy_access_levels: 0 bytes
  • check_private_in_public: 0 bytes
  • reachable_set: 0 bytes
  • region_scope_tree: 0 bytes
  • mir_shims: 0 bytes
  • symbol_name: 0 bytes
  • opt_def_kind: 0 bytes
  • def_span: 0 bytes
  • def_ident_span: 0 bytes
  • lookup_stability: 0 bytes
  • lookup_const_stability: 0 bytes
  • should_inherit_track_caller: 0 bytes
  • lookup_deprecation_entry: 0 bytes
  • item_attrs: 0 bytes
  • codegen_fn_attrs: 0 bytes
  • fn_arg_names: 0 bytes
  • rendered_const: 0 bytes
  • impl_parent: 0 bytes
  • trait_of_item: 0 bytes
  • is_ctfe_mir_available: 0 bytes
  • is_mir_available: 0 bytes
  • own_existential_vtable_entries: 0 bytes
  • vtable_entries: 0 bytes
  • vtable_trait_upcasting_coercion_new_vptr_slot: 0 bytes
  • vtable_allocation: 0 bytes
  • codegen_fulfill_obligation: 0 bytes
  • all_local_trait_impls: 0 bytes
  • trait_impls_of: 0 bytes
  • specialization_graph_of: 0 bytes
  • object_safety_violations: 0 bytes
  • param_env: 0 bytes
  • param_env_reveal_all_normalized: 0 bytes
  • is_copy_raw: 0 bytes
  • is_sized_raw: 0 bytes
  • is_freeze_raw: 0 bytes
  • is_unpin_raw: 0 bytes
  • needs_drop_raw: 0 bytes
  • has_significant_drop_raw: 0 bytes
  • has_structural_eq_impls: 0 bytes
  • adt_drop_tys: 0 bytes
  • adt_significant_drop_tys: 0 bytes
  • layout_of: 0 bytes
  • fn_abi_of_fn_ptr: 0 bytes
  • fn_abi_of_instance: 0 bytes
  • dylib_dependency_formats: 0 bytes
  • dependency_formats: 0 bytes
  • is_compiler_builtins: 0 bytes
  • has_global_allocator: 0 bytes
  • has_panic_handler: 0 bytes
  • is_profiler_runtime: 0 bytes
  • panic_strategy: 0 bytes
  • panic_in_drop_strategy: 0 bytes
  • is_no_builtins: 0 bytes
  • symbol_mangling_version: 0 bytes
  • extern_crate: 0 bytes
  • specializes: 0 bytes
  • in_scope_traits_map: 0 bytes
  • module_reexports: 0 bytes
  • impl_defaultness: 0 bytes
  • impl_constness: 0 bytes
  • check_item_well_formed: 0 bytes
  • check_trait_item_well_formed: 0 bytes
  • check_impl_item_well_formed: 0 bytes
  • reachable_non_generics: 0 bytes
  • is_reachable_non_generic: 0 bytes
  • is_unreachable_local_definition: 0 bytes
  • upstream_monomorphizations: 0 bytes
  • upstream_monomorphizations_for: 0 bytes
  • upstream_drop_glue_for: 0 bytes
  • foreign_modules: 0 bytes
  • entry_fn: 0 bytes
  • proc_macro_decls_static: 0 bytes
  • crate_hash: 0 bytes
  • crate_host_hash: 0 bytes
  • extra_filename: 0 bytes
  • crate_extern_paths: 0 bytes
  • implementations_of_trait: 0 bytes
  • is_dllimport_foreign_item: 0 bytes
  • is_statically_included_foreign_item: 0 bytes
  • native_library_kind: 0 bytes
  • resolve_lifetimes_trait_definition: 0 bytes
  • resolve_lifetimes: 0 bytes
  • named_region_map: 0 bytes
  • is_late_bound_map: 0 bytes
  • object_lifetime_defaults_map: 0 bytes
  • late_bound_vars_map: 0 bytes
  • lifetime_scope_map: 0 bytes
  • visibility: 0 bytes
  • type_uninhabited_from: 0 bytes
  • dep_kind: 0 bytes
  • crate_name: 0 bytes
  • module_children: 0 bytes
  • extern_mod_stmt_cnum: 0 bytes
  • lib_features: 0 bytes
  • defined_lib_features: 0 bytes
  • get_lang_items: 0 bytes
  • all_diagnostic_items: 0 bytes
  • defined_lang_items: 0 bytes
  • diagnostic_items: 0 bytes
  • missing_lang_items: 0 bytes
  • visible_parent_map: 0 bytes
  • trimmed_def_paths: 0 bytes
  • missing_extern_crate_item: 0 bytes
  • used_crate_source: 0 bytes
  • postorder_cnums: 0 bytes
  • is_private_dep: 0 bytes
  • allocator_kind: 0 bytes
  • upvars_mentioned: 0 bytes
  • maybe_unused_trait_import: 0 bytes
  • maybe_unused_extern_crates: 0 bytes
  • names_imported_by_glob_use: 0 bytes
  • stability_index: 0 bytes
  • crates: 0 bytes
  • traits_in_crate: 0 bytes
  • exported_symbols: 0 bytes
  • collect_and_partition_mono_items: 0 bytes
  • is_codegened_item: 0 bytes
  • codegened_and_inlined_items: 0 bytes
  • codegen_unit: 0 bytes
  • unused_generic_params: 0 bytes
  • backend_optimization_level: 0 bytes
  • output_filenames: 0 bytes
  • normalize_projection_ty: 0 bytes
  • try_normalize_generic_arg_after_erasing_regions: 0 bytes
  • try_normalize_mir_const_after_erasing_regions: 0 bytes
  • implied_outlives_bounds: 0 bytes
  • dropck_outlives: 0 bytes
  • evaluate_obligation: 0 bytes
  • evaluate_goal: 0 bytes
  • type_op_ascribe_user_type: 0 bytes
  • type_op_eq: 0 bytes
  • type_op_subtype: 0 bytes
  • type_op_prove_predicate: 0 bytes
  • type_op_normalize_ty: 0 bytes
  • type_op_normalize_predicate: 0 bytes
  • type_op_normalize_poly_fn_sig: 0 bytes
  • type_op_normalize_fn_sig: 0 bytes
  • subst_and_check_impossible_predicates: 0 bytes
  • method_autoderef_steps: 0 bytes
  • supported_target_features: 0 bytes
  • instance_def_size_estimate: 0 bytes
  • features_query: 0 bytes
  • resolve_instance: 0 bytes
  • resolve_instance_of_const_arg: 0 bytes
  • normalize_opaque_types: 0 bytes
  • conservative_is_privately_uninhabited: 0 bytes
  • limits: 0 bytes
  • diagnostic_hir_wf_check: 0 bytes