Skip to main content

Module leak_check

Module leak_check 

Source

Re-exportsΒ§

use rustc_data_structures::fx::FxIndexMap; πŸ”’
use rustc_data_structures::graph::scc::Sccs; πŸ”’
use rustc_data_structures::graph::vec_graph::VecGraph; πŸ”’
use rustc_index::Idx; πŸ”’
use rustc_middle::ty::error::TypeError; πŸ”’
use rustc_span::span_bug; πŸ”’
use tracing::debug; πŸ”’
use tracing::instrument; πŸ”’
use tracing::instrument; πŸ”’
use crate::infer::relate::RelateResult; πŸ”’
use crate::infer::snapshot::CombinedSnapshot; πŸ”’
use super::*; πŸ”’

StructsΒ§

LeakCheck πŸ”’
LeakCheckNode πŸ”’
LeakCheckScc πŸ”’
MiniGraph πŸ”’
Represents the graph of constraints. For each R1: R2 constraint we create an edge R1 -> R2 in the graph.
SccUniverse πŸ”’
Tracks the β€œminimum universe” for each SCC, along with some region that caused it to change.