Module rustc_const_eval::util

source ·

Re-exports

pub use self::aggregate::expand_aggregate;

Modules

alignment 🔒
call_kind 🔒
Common logic for borrowck use-after-move errors when moved into a fn(self), as well as errors when attempting to call a non-const function in a const context.

Enums

Functions

Checks if the specified local is used as the self parameter of a method call in the provided BasicBlock. If it is, then the DefId of the called method is returned.
Returns true if this place is allowed to be less aligned than its containing struct (because it is within a packed struct).