Skip to main content

Module type_variable

Module type_variable 

Source

Re-exportsยง

use std::cmp; ๐Ÿ”’
use std::marker::PhantomData; ๐Ÿ”’
use std::ops::Range; ๐Ÿ”’
use rustc_data_structures::undo_log::Rollback; ๐Ÿ”’
use rustc_data_structures::snapshot_vec as sv; ๐Ÿ”’
use rustc_data_structures::unify as ut; ๐Ÿ”’
use rustc_hir::HirId; ๐Ÿ”’
use rustc_hir::def_id::DefId; ๐Ÿ”’
use rustc_index::IndexVec; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_middle::ty::Ty; ๐Ÿ”’
use rustc_middle::ty::TyVid; ๐Ÿ”’
use rustc_span::Span; ๐Ÿ”’
use rustc_span::bug; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use crate::infer::InferCtxtUndoLogs; ๐Ÿ”’

Structsยง

FloatVariableOrigin
TyVidEqKey ๐Ÿ”’
These structs (a newtyped TyVid) are used as the unification key for the eq_relations; they carry a TypeVariableValue along with them.
TyVidSubKey ๐Ÿ”’
TypeVariableData ๐Ÿ”’
TypeVariableOrigin
TypeVariableStorage ๐Ÿ”’
TypeVariableTable ๐Ÿ”’

Enumsยง

TypeVariableValue ๐Ÿ”’
UndoLog ๐Ÿ”’
Represents a single undo-able action that affects a type inference variable.