Enum rustc_middle::dep_graph::dep_node::DepKind[][src]

pub enum DepKind {
Show 267 variants Null, TraitSelect, CompileCodegenUnit, CompileMonoItem, trigger_delay_span_bug, resolutions, source_span, hir_crate, index_hir, 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, 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 the DEP_KINDS array.

Variants

Null
TraitSelect
CompileCodegenUnit
CompileMonoItem
trigger_delay_span_bug
resolutions
source_span
hir_crate
index_hir
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
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

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

Return whether this kind always require evaluation.

Return whether this kind requires additional parameters to be executed.

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

Execute the operation with provided dependencies.

Access dependencies from current implicit context.

The resulting type after dereferencing.

Dereferences the value.

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)

recently added

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: