fn grant_error(
        &self,
        derived_from: SbTag,
        new: Item,
        alloc_id: AllocId,
        alloc_range: AllocRange,
        error_offset: Size,
    ) -> InterpError<'static> {
        let action = format!(
            "trying to reborrow {:?} for {:?} permission at {}[{:#x}]",
            derived_from,
            new.perm,
            alloc_id,
            error_offset.bytes(),
        );
        err_sb_ub(
            format!("{}{}", action, self.error_cause(derived_from)),
            Some(Self::operation_summary("a reborrow", alloc_id, alloc_range)),
        )
    }
/// Report a descriptive error when `new` could not be granted from `derived_from`.
Report a descriptive error when `new` could not be granted from `derived_from`.
Report a descriptive error when ` new ` could not be granted from ` derived_from ` .
fn grant_error(
        &self,
        derived_from: SbTag,
        new: Item,
        alloc_id: AllocId,
        alloc_range: AllocRange,
        error_offset: Size,
    ) -> InterpError<'static> {
        let action = format!(
            "trying to reborrow {:?} for {:?} permission at {}[{:#x}]",
            derived_from,
            new.perm,
            alloc_id,
            error_offset.bytes(),
        );
        err_sb_ub(
            format!("{}{}", action, self.error_cause(derived_from)),
            Some(Self::operation_summary("a reborrow", alloc_id, alloc_range)),
        )
    }
fn grant_error ( & self , derived_from : SbTag , new : Item , alloc_id : AllocId , alloc_range : AllocRange , error_offset : Size , ) -> InterpError < ' static > { let action = format ! ( " " derived_from new perm alloc_id error_offset bytes ( ) ) ; err_sb_ub ( format ! ( " " action self error_cause ( derived_from ) ) , Some ( Self :: operation_summary ( " " , alloc_id , alloc_range ) ) , ) }
Report a descriptive error when `new` could not be granted from `derived_from`.
Report a descriptive error when ` new ` could not be granted from ` derived_from ` .
&self
derived_from
SbTag
new
Item
alloc_id
AllocId
alloc_range
AllocRange
error_offset
Size