Enum rustc_mir::interpret::validity::CtfeValidationMode [−][src]
Expand description
Extra things to check for during validation of CTFE results.
Variants
Expand description
Regular validation, nothing special happening.
Expand description
Validation of a const.
inner says if this is an inner, indirect allocation (as opposed to the top-level const
allocation). Being an inner allocation makes a difference because the top-level allocation
of a const is copied for each use, but the inner allocations are implicitly shared.
allow_static_ptrs says if pointers to statics are permitted (which is the case for promoteds in statics).
Auto Trait Implementations
impl RefUnwindSafe for CtfeValidationMode
impl Send for CtfeValidationMode
impl Sync for CtfeValidationMode
impl Unpin for CtfeValidationMode
impl UnwindSafe for CtfeValidationMode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]