fn access_error(
        &self,
        access: AccessKind,
        tag: SbTag,
        alloc_id: AllocId,
        alloc_range: AllocRange,
        error_offset: Size,
    ) -> InterpError<'static> {
        let action = format!(
            "attempting a {} using {:?} at {}[{:#x}]",
            access,
            tag,
            alloc_id,
            error_offset.bytes(),
        );
        err_sb_ub(
            format!("{}{}", action, self.error_cause(tag)),
            Some(Self::operation_summary("an access", alloc_id, alloc_range)),
        )
    }
/// Report a descriptive error when `access` is not permitted based on `tag`.
Report a descriptive error when `access` is not permitted based on `tag`.
Report a descriptive error when ` access ` is not permitted based on ` tag ` .
fn access_error(
        &self,
        access: AccessKind,
        tag: SbTag,
        alloc_id: AllocId,
        alloc_range: AllocRange,
        error_offset: Size,
    ) -> InterpError<'static> {
        let action = format!(
            "attempting a {} using {:?} at {}[{:#x}]",
            access,
            tag,
            alloc_id,
            error_offset.bytes(),
        );
        err_sb_ub(
            format!("{}{}", action, self.error_cause(tag)),
            Some(Self::operation_summary("an access", alloc_id, alloc_range)),
        )
    }
fn access_error ( & self , access : AccessKind , tag : SbTag , alloc_id : AllocId , alloc_range : AllocRange , error_offset : Size , ) -> InterpError < ' static > { let action = format ! ( " " access tag alloc_id error_offset bytes ( ) ) ; err_sb_ub ( format ! ( " " action self error_cause ( tag ) ) , Some ( Self :: operation_summary ( " " , alloc_id , alloc_range ) ) , ) }
Report a descriptive error when `access` is not permitted based on `tag`.
Report a descriptive error when ` access ` is not permitted based on ` tag ` .
&self
access
AccessKind
tag
SbTag
alloc_id
AllocId
alloc_range
AllocRange
error_offset
Size