Expand description
Removes operations on ZST places, and convert ZST operands to constants.
Re-exportsยง
use rustc_middle::ty;๐use rustc_middle::ty::Ty;๐use rustc_middle::ty::TyCtxt;๐use crate::PassPolicy;๐use rustc_middle::mir::visit::*;๐use rustc_middle::mir::*;๐
Structsยง
- Remove
Zsts ๐ - Replacer ๐
Functionsยง
- trivially_
zst ๐ - A cheap, approximate check to avoid unnecessary
layout_ofcalls.