[][src]Module rustc_mir::shim

🔬 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?

Structs

CloneShimBuilder [
Experimental
]
DropShimElaborator [
Experimental
]

Enums

Adjustment [
Experimental
]
CallKind [
Experimental
]

Functions

build_adt_ctor [
Experimental
]
build_call_shim [
Experimental
]

Build a "call" shim for def_id. The shim calls the function specified by call_kind, first adjusting its first argument according to rcvr_adjustment.

build_clone_shim [
Experimental
]

Build a Clone::clone shim for self_ty. Here, def_id is Clone::clone.

build_drop_shim [
Experimental
]
local_decls_for_sig [
Experimental
]
make_shim [
Experimental
]
provide [
Experimental
]
temp_decl [
Experimental
]