Expand description
Translate functions from the rust compiler MIR to our internal representation. Our internal representation is very close to MIR, but is more convenient for us to handle, and easier to maintain - rustcβs representation can evolve independently.
Re-exportsΒ§
use itertools::Itertools;πuse rustc_attr_ir::LangItem;πuse std::borrow::Cow;πuse std::collections::VecDeque;πuse std::mem;πuse std::ops::Deref;πuse std::ops::DerefMut;πuse std::panic;πuse std::panic;πuse std::rc::Rc;πuse crate::frontend as front;πuse rustc_middle::mir;πuse rustc_middle::ty;πuse rustc_span::Symbol;πuse rustc_span::kw;πuse rustc_span::sym;πuse super::user_type_annotations::UserTypeAnnotations;πuse charon_lib::formatter::FmtCtx;πuse charon_lib::formatter::IntoFormatter;πuse charon_lib::formatter::compute_local_names;πuse charon_lib::name_matcher::NamePattern;πuse charon_lib::options::TranslateOptions;πuse charon_lib::pretty::FmtWithCtx;πuse charon_lib::transform::ctx::BodyTransformCtx;πuse super::translate_ctx::*;πuse charon_lib::ullbc_ast::*;π
StructsΒ§
- Block
Trans πCtx - A translation context for function blocks.
- Body
Trans πCtx - A translation context for function bodies.