[−][src]Function rustc_codegen_llvm::base::unsized_info
pub fn unsized_info<'ll, 'tcx>(
cx: &CodegenCx<'ll, 'tcx>,
source: Ty<'tcx>,
target: Ty<'tcx>,
old_info: Option<&'ll Value>
) -> &'ll Value
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Retrieve the information we are losing (making dynamic) in an unsizing adjustment.
The old_info
argument is a bit funny. It is intended for use
in an upcast, where the new vtable for an object will be derived
from the old one.