Skip to main content Module translate_generics Copy item path Source use rustc_hash::FxHashMap as HashMap; π use rustc_hash::FxHashSet as HashSet; π use std::fmt::Debug ; π use std::fmt::Debug ; π use std::mem ; π use crate::frontend as front; π use crate::frontend::BaseState ; π use crate::frontend::SInto ; π use crate::frontend::Symbol ; π use rustc_middle::ty; π use super::translate_ctx::ItemTransCtx ; π use charon_lib::utils::CycleDetector ; π use charon_lib::ast ::*; π BindingLevel π A level of binding for type-level variables. Each item has a top-level binding level
corresponding to the parameters and clauses to the items. We may then encounter inner binding
levels in the following cases: LifetimeMutabilityComputer Struct to compute the βmutabilityβ of each lifetime. translate_region_name π Small helper: we ignore some region names (when they are equal to ββ_β) translate_variance π