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.
This commit is contained in:
2026-01-26 16:22:03 +03:00
parent 57e4719352
commit 5d2748a90c
@@ -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<T>`
= note: required for `GenesisConfig<Runtime>` 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<T>`
= note: required for `GenesisConfig<Runtime>` 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<T>(&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<T>(&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