From 5d2748a90cd96ac8ff587f80d84aa1a807c70d13 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Mon, 26 Jan 2026 16:22:03 +0300 Subject: [PATCH] fix: update construct_runtime UI test expected output Update deprecated_where_block.stderr to match current Rust compiler output. The differences are minor formatting changes in error messages. --- .../deprecated_where_block.stderr | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr index 61cf72a2..52c92f56 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr @@ -727,27 +727,27 @@ note: the trait `Config` must be implemented = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied - --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 - | -20 | / construct_runtime! { -21 | | pub struct Runtime where -22 | | Block = Block, -23 | | NodeBlock = Block, -... | -28 | | } - | |_^ the trait `Config` is not implemented for `Runtime` - | - = help: the trait `Serialize` is implemented for `GenesisConfig` - = note: required for `GenesisConfig` to implement `Serialize` + --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 + | +20 | / construct_runtime! { +21 | | pub struct Runtime where +22 | | Block = Block, +23 | | NodeBlock = Block, +... | +28 | | } + | |_^ the trait `Config` is not implemented for `Runtime` + | + = help: the trait `Serialize` is implemented for `GenesisConfig` + = note: required for `GenesisConfig` to implement `Serialize` note: required by a bound in `pezframe_support::pezsp_runtime::serde::ser::SerializeStruct::serialize_field` - --> $CARGO/serde_core-$VERSION/src/ser/mod.rs - | - | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> - | --------------- required by a bound in this associated function - | where - | T: ?Sized + Serialize; - | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` - = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + --> /home/mamostehp/.cargo/git/checkouts/serde-fba1804c83c3e009/0a75fdd/serde_core/src/ser/mod.rs:1917:21 + | +1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> + | --------------- required by a bound in this associated function +1916 | where +1917 | T: ?Sized + Serialize; + | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1