diff --git a/soroban-env-common/src/storage_type.rs b/soroban-env-common/src/storage_type.rs index cb955b7d9..d72886e3c 100644 --- a/soroban-env-common/src/storage_type.rs +++ b/soroban-env-common/src/storage_type.rs @@ -1,3 +1,4 @@ +#![allow(non_local_definitions)] use crate::{ declare_wasmi_marshal_for_enum, xdr::{ContractDataDurability, ScErrorCode, ScErrorType}, @@ -8,7 +9,6 @@ use num_derive::FromPrimitive; /// an argument to storage functions. It doesn't correspond to any [`Val`] types, /// and is passed by direct marshalling as a u64. #[repr(u64)] -#[allow(non_local_definitions)] #[derive(Debug, FromPrimitive, PartialEq, Eq, Clone, Copy)] pub enum StorageType { Temporary = 0,