Skip to main content

Module initialized

Module initialized 

Source

Re-exportsยง

use std::assert_matches; ๐Ÿ”’
use rustc_abi::VariantIdx; ๐Ÿ”’
use rustc_data_structures::fx::FxIndexSet; ๐Ÿ”’
use rustc_index::bit_set::DenseBitSet; ๐Ÿ”’
use rustc_index::bit_set::MixedBitSet; ๐Ÿ”’
use rustc_middle::mir; ๐Ÿ”’
use rustc_middle::mir::BasicBlock; ๐Ÿ”’
use rustc_middle::mir::Body; ๐Ÿ”’
use rustc_middle::mir::CallReturnPlaces; ๐Ÿ”’
use rustc_middle::mir::Local; ๐Ÿ”’
use rustc_middle::mir::Location; ๐Ÿ”’
use rustc_middle::mir::StatementKind; ๐Ÿ”’
use rustc_middle::mir::TerminatorEdges; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use rustc_span::bug; ๐Ÿ”’
use smallvec::SmallVec; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use crate::drop_flag_effects::DropFlagState; ๐Ÿ”’
use crate::drop_flag_effects::InactiveVariants; ๐Ÿ”’
use crate::move_paths::HasMoveData; ๐Ÿ”’
use crate::move_paths::Init; ๐Ÿ”’
use crate::move_paths::InitKind; ๐Ÿ”’
use crate::move_paths::InitLocation; ๐Ÿ”’
use crate::move_paths::LookupResult; ๐Ÿ”’
use crate::move_paths::MoveData; ๐Ÿ”’
use crate::move_paths::MovePathIndex; ๐Ÿ”’
use crate::Analysis; ๐Ÿ”’
use crate::GenKill; ๐Ÿ”’
use crate::MaybeReachable; ๐Ÿ”’
use crate::SwitchTargetIndex; ๐Ÿ”’
use crate::drop_flag_effects; ๐Ÿ”’
use crate::drop_flag_effects_for_function_entry; ๐Ÿ”’
use crate::drop_flag_effects_for_location; ๐Ÿ”’
use crate::on_all_children_bits; ๐Ÿ”’
use crate::on_lookup_result_bits; ๐Ÿ”’

Structsยง

EverInitializedPlaces
EverInitializedPlaces tracks all initializations of locals that may have occurred upon reaching a particular point in the control flow for a function, without an intervening StorageDead.
MaybeInitializedPlaces
MaybeInitializedPlaces tracks all places that might be initialized upon reaching a particular point in the control flow for a function.
MaybePlacesSwitchIntData
MaybeUninitializedPlaces
MaybeUninitializedPlaces tracks all places that might be uninitialized upon reaching a particular point in the control flow for a function.

Type Aliasesยง

EverInitializedPlacesDomain
MaybeUninitializedPlacesDomain
There can be many more MovePathIndex than there are locals in a MIR body. We use a mixed bitset to avoid paying too high a memory footprint.