diff --git a/substrate/frame/support/procedural/src/construct_runtime/mod.rs b/substrate/frame/support/procedural/src/construct_runtime/mod.rs index 705c2cfcb44c9099c0096c7bd7c605b46ba88083..abd68e4425d896785acfcba72ec1c6a64e44d7cf 100644 --- a/substrate/frame/support/procedural/src/construct_runtime/mod.rs +++ b/substrate/frame/support/procedural/src/construct_runtime/mod.rs @@ -470,8 +470,11 @@ fn decl_all_modules<'a>( quote!( #types - type AllModules = ( #all_modules ); - type AllModulesWithSystem = ( #all_modules_with_system ); + /// All pallets included in the runtime as a nested tuple of types. + /// Excludes the System pallet. + pub type AllModules = ( #all_modules ); + /// All pallets included in the runtime as a nested tuple of types. + pub type AllModulesWithSystem = ( #all_modules_with_system ); ) }