diff --git a/aya/src/obj/btf/mod.rs b/aya/src/obj/btf/mod.rs index d5324094..8b3ed606 100644 --- a/aya/src/obj/btf/mod.rs +++ b/aya/src/obj/btf/mod.rs @@ -6,5 +6,4 @@ mod types; pub use btf::*; pub(crate) use info::*; -pub use relocation::RelocationError; pub(crate) use types::*; diff --git a/aya/src/obj/btf/relocation.rs b/aya/src/obj/btf/relocation.rs index e00778fe..eec03ecf 100644 --- a/aya/src/obj/btf/relocation.rs +++ b/aya/src/obj/btf/relocation.rs @@ -18,7 +18,7 @@ use crate::{ }; #[derive(Error, Debug)] -pub enum RelocationError { +enum RelocationError { #[error(transparent)] IOError(#[from] io::Error),