Expand description
Locals are in a private module as updating LocalRef::Operand has to
be careful wrt to subtyping. To deal with this we only allow updates by using
FunctionCx::overwrite_local which handles it automatically.
Re-exportsยง
use std::ops::Index;๐use std::ops::IndexMut;๐use rustc_index::IndexVec;๐use rustc_middle::mir;๐use rustc_middle::ty::print::with_no_trimmed_paths;๐use rustc_middle::ty::print::with_no_trimmed_paths;๐use tracing::debug;๐use tracing::warn;๐use crate::mir::FunctionCx;๐use crate::mir::LocalRef;๐use crate::traits::BuilderMethods;๐
Structsยง
- Locals ๐