Pub enum runtime to pub struct runtime (#13250)

* pub enum Runtime -> pub struct Runtime

* changing some more

* fmt

* updating *.stderr files

* re-run trybuild after rust update

* keep a test file for `pub enum Runtime`

* Delete construct_runtime_2.rs

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: parity-processbot <>
This commit is contained in:
afm
2023-03-07 08:14:12 -03:00
committed by GitHub
parent c5b6649ecc
commit d86a32630b
73 changed files with 99 additions and 96 deletions
@@ -16,7 +16,7 @@
// limitations under the License.
//! General tests for construct_runtime macro, test for:
//! * error declareed with decl_error works
//! * error declared with decl_error works
//! * integrity test is generated
#![recursion_limit = "128"]
@@ -254,7 +254,7 @@ impl system::Config for Runtime {
}
frame_support::construct_runtime!(
pub enum Runtime where
pub struct Runtime where
Block = Block,
NodeBlock = Block,
UncheckedExtrinsic = UncheckedExtrinsic