diff --git a/substrate/frame/election-provider-multi-phase/src/lib.rs b/substrate/frame/election-provider-multi-phase/src/lib.rs
index 5e1bc8df9a7c71c6b1d6a7ad275363d54d23c3ee..c4a5e0fa6936ad676498d31b4bbe515d1667dd3b 100644
--- a/substrate/frame/election-provider-multi-phase/src/lib.rs
+++ b/substrate/frame/election-provider-multi-phase/src/lib.rs
@@ -241,7 +241,8 @@ const LOG_TARGET: &'static str = "runtime::election-provider";
 pub mod unsigned;
 pub mod weights;
 
-use weights::WeightInfo;
+/// The weight declaration of the pallet.
+pub use weights::WeightInfo;
 
 /// The compact solution type used by this crate.
 pub type CompactOf<T> = <T as Config>::CompactSolution;