Skip to main content

Module builder

Module builder 

Source
Expand description

Logic required to produce a monomorphic body.

We retrieve and monomorphize the rustc body representation, i.e., we generate a monomorphic body using internal representation.

Re-exportsยง

use rustc_hir::def::DefKind; ๐Ÿ”’
use rustc_middle::mir; ๐Ÿ”’
use rustc_middle::mir::visit::MutVisitor; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’

Structsยง

BodyBuilder ๐Ÿ”’
Builds a monomorphic body for a given instance.