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:
afmBastian Köcherparity-processbot
authored and GitHub committed 2023-03-07 12:14:12 +01:00
1 parent c5b6649ecc
commit d86a32630b
73 files changed
+99 -96

No files matched your search

@@ -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