Skip to content

Commit dd5e962

Browse files
author
command-bot
committed
".git/.scripts/commands/update-ui/update-ui.sh"
1 parent 3591975 commit dd5e962

14 files changed

Lines changed: 135 additions & 115 deletions

substrate/frame/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied in `frame_syste
148148
| ||_- in this macro invocation
149149
... |
150150
|
151-
= note: required because it appears within the type `Event<Runtime>`
151+
note: required because it appears within the type `Event<Runtime>`
152+
--> $WORKSPACE/substrate/frame/system/src/lib.rs
153+
|
154+
| pub enum Event<T: Config> {
155+
| ^^^^^
152156
note: required by a bound in `From`
153157
--> $RUST/core/src/convert/mod.rs
154158
|
@@ -169,7 +173,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied in `frame_syste
169173
| ||_- in this macro invocation
170174
... |
171175
|
172-
= note: required because it appears within the type `Event<Runtime>`
176+
note: required because it appears within the type `Event<Runtime>`
177+
--> $WORKSPACE/substrate/frame/system/src/lib.rs
178+
|
179+
| pub enum Event<T: Config> {
180+
| ^^^^^
173181
note: required by a bound in `TryInto`
174182
--> $RUST/core/src/convert/mod.rs
175183
|

substrate/frame/support/test/tests/derive_no_bound_ui/debug.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ error[E0277]: `<T as Config>::C` doesn't implement `std::fmt::Debug`
55
| ^ `<T as Config>::C` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
66
|
77
= help: the trait `std::fmt::Debug` is not implemented for `<T as Config>::C`
8-
= note: required for the cast from `<T as Config>::C` to the object type `dyn std::fmt::Debug`
8+
= note: required for the cast from `&<T as Config>::C` to `&dyn std::fmt::Debug`

substrate/frame/support/test/tests/pallet_ui/call_argument_invalid_bound.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
1919
|
2020
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
2121
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug`
22-
= note: required for the cast from `&<T as pallet::Config>::Bar` to the object type `dyn std::fmt::Debug`
22+
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug`
2323

2424
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Clone` is not satisfied
2525
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36

substrate/frame/support/test/tests/pallet_ui/call_argument_invalid_bound_2.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
1919
|
2020
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
2121
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug`
22-
= note: required for the cast from `&<T as pallet::Config>::Bar` to the object type `dyn std::fmt::Debug`
22+
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug`
2323

2424
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Clone` is not satisfied
2525
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36

substrate/frame/support/test/tests/pallet_ui/call_argument_invalid_bound_3.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ error[E0277]: `Bar` doesn't implement `std::fmt::Debug`
2020
= help: the trait `std::fmt::Debug` is not implemented for `Bar`
2121
= note: add `#[derive(Debug)]` to `Bar` or manually `impl std::fmt::Debug for Bar`
2222
= note: required for `&Bar` to implement `std::fmt::Debug`
23-
= note: required for the cast from `&Bar` to the object type `dyn std::fmt::Debug`
23+
= note: required for the cast from `&&Bar` to `&dyn std::fmt::Debug`
2424
help: consider annotating `Bar` with `#[derive(Debug)]`
2525
|
2626
34 + #[derive(Debug)]

substrate/frame/support/test/tests/pallet_ui/dev_mode_without_arg_max_encoded_len.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ error[E0277]: the trait bound `Vec<u8>: MaxEncodedLen` is not satisfied
3030
| ^^^^^^ the trait `MaxEncodedLen` is not implemented for `Vec<u8>`
3131
|
3232
= help: the following other types implement trait `MaxEncodedLen`:
33-
()
34-
(TupleElement0, TupleElement1)
35-
(TupleElement0, TupleElement1, TupleElement2)
36-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3)
37-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
38-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)
39-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
40-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
33+
bool
34+
i8
35+
i16
36+
i32
37+
i64
38+
i128
39+
u8
40+
u16
4141
and $N others
4242
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageMyStorage<T>, Vec<u8>>` to implement `StorageInfoTrait`

substrate/frame/support/test/tests/pallet_ui/error_does_not_derive_pallet_error.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ error[E0277]: the trait bound `MyError: PalletError` is not satisfied
55
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PalletError` is not implemented for `MyError`
66
|
77
= help: the following other types implement trait `PalletError`:
8-
()
9-
(TupleElement0, TupleElement1)
10-
(TupleElement0, TupleElement1, TupleElement2)
11-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3)
12-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
13-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)
14-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
15-
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
8+
bool
9+
i8
10+
i16
11+
i32
12+
i64
13+
i128
14+
u8
15+
u16
1616
and $N others
1717
= note: this error originates in the derive macro `frame_support::PalletError` (in Nightly builds, run with -Z macro-backtrace for more info)

substrate/frame/support/test/tests/pallet_ui/event_field_not_member.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
1818
|
1919
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
2020
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug`
21-
= note: required for the cast from `&<T as pallet::Config>::Bar` to the object type `dyn std::fmt::Debug`
21+
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug`

substrate/frame/support/test/tests/pallet_ui/inherent_check_inner_span.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ error[E0046]: not all trait items implemented, missing: `Call`, `Error`, `INHERE
44
36 | impl<T: Config> ProvideInherent for Pallet<T> {}
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Call`, `Error`, `INHERENT_IDENTIFIER`, `create_inherent`, `is_inherent` in implementation
66
|
7-
= help: implement the missing item: `type Call = Type;`
8-
= help: implement the missing item: `type Error = Type;`
7+
= help: implement the missing item: `type Call = /* Type */;`
8+
= help: implement the missing item: `type Error = /* Type */;`
99
= help: implement the missing item: `const INHERENT_IDENTIFIER: [u8; 8] = value;`
1010
= help: implement the missing item: `fn create_inherent(_: &InherentData) -> std::option::Option<<Self as ProvideInherent>::Call> { todo!() }`
1111
= help: implement the missing item: `fn is_inherent(_: &<Self as ProvideInherent>::Call) -> bool { todo!() }`

substrate/frame/support/test/tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.stderr

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
55
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar`
66
|
77
= help: the following other types implement trait `WrapperTypeDecode`:
8-
Arc<T>
98
Box<T>
10-
Rc<T>
119
frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes
10+
Rc<T>
11+
Arc<T>
1212
= note: required for `Bar` to implement `Decode`
1313
= note: required for `Bar` to implement `FullCodec`
1414
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `PartialStorageInfoTrait`
@@ -20,14 +20,14 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
2020
| ^^^^^^^^^^^^^^^^^^^^ the trait `EncodeLike` is not implemented for `Bar`
2121
|
2222
= help: the following other types implement trait `EncodeLike<T>`:
23-
<&&T as EncodeLike<T>>
24-
<&T as EncodeLike<T>>
25-
<&T as EncodeLike>
26-
<&[(K, V)] as EncodeLike<BTreeMap<LikeK, LikeV>>>
27-
<&[(T,)] as EncodeLike<BTreeSet<LikeT>>>
28-
<&[(T,)] as EncodeLike<BinaryHeap<LikeT>>>
29-
<&[(T,)] as EncodeLike<LinkedList<LikeT>>>
30-
<&[T] as EncodeLike<Vec<U>>>
23+
<bool as EncodeLike>
24+
<i8 as EncodeLike>
25+
<i16 as EncodeLike>
26+
<i32 as EncodeLike>
27+
<i64 as EncodeLike>
28+
<i128 as EncodeLike>
29+
<u8 as EncodeLike>
30+
<u16 as EncodeLike>
3131
and $N others
3232
= note: required for `Bar` to implement `FullEncode`
3333
= note: required for `Bar` to implement `FullCodec`
@@ -40,14 +40,14 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
4040
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar`
4141
|
4242
= help: the following other types implement trait `WrapperTypeEncode`:
43-
&T
44-
&mut T
45-
Arc<T>
4643
Box<T>
44+
bytes::bytes::Bytes
4745
Cow<'a, T>
46+
parity_scale_codec::Ref<'a, T, U>
47+
frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes
4848
Rc<T>
49+
Arc<T>
4950
Vec<T>
50-
bytes::bytes::Bytes
5151
and $N others
5252
= note: required for `Bar` to implement `Encode`
5353
= note: required for `Bar` to implement `FullEncode`
@@ -61,14 +61,14 @@ error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
6161
| ^^^^^^^ the trait `TypeInfo` is not implemented for `Bar`
6262
|
6363
= help: the following other types implement trait `TypeInfo`:
64-
&T
65-
&mut T
66-
()
67-
(A, B)
68-
(A, B, C)
69-
(A, B, C, D)
70-
(A, B, C, D, E)
71-
(A, B, C, D, E, F)
64+
bool
65+
char
66+
i8
67+
i16
68+
i32
69+
i64
70+
i128
71+
u8
7272
and $N others
7373
= note: required for `Bar` to implement `StaticTypeInfo`
7474
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `StorageEntryMetadataBuilder`
@@ -80,10 +80,10 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
8080
| ^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar`
8181
|
8282
= help: the following other types implement trait `WrapperTypeDecode`:
83-
Arc<T>
8483
Box<T>
85-
Rc<T>
8684
frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes
85+
Rc<T>
86+
Arc<T>
8787
= note: required for `Bar` to implement `Decode`
8888
= note: required for `Bar` to implement `FullCodec`
8989
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `StorageEntryMetadataBuilder`
@@ -95,14 +95,14 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
9595
| ^^^^^^^ the trait `EncodeLike` is not implemented for `Bar`
9696
|
9797
= help: the following other types implement trait `EncodeLike<T>`:
98-
<&&T as EncodeLike<T>>
99-
<&T as EncodeLike<T>>
100-
<&T as EncodeLike>
101-
<&[(K, V)] as EncodeLike<BTreeMap<LikeK, LikeV>>>
102-
<&[(T,)] as EncodeLike<BTreeSet<LikeT>>>
103-
<&[(T,)] as EncodeLike<BinaryHeap<LikeT>>>
104-
<&[(T,)] as EncodeLike<LinkedList<LikeT>>>
105-
<&[T] as EncodeLike<Vec<U>>>
98+
<bool as EncodeLike>
99+
<i8 as EncodeLike>
100+
<i16 as EncodeLike>
101+
<i32 as EncodeLike>
102+
<i64 as EncodeLike>
103+
<i128 as EncodeLike>
104+
<u8 as EncodeLike>
105+
<u16 as EncodeLike>
106106
and $N others
107107
= note: required for `Bar` to implement `FullEncode`
108108
= note: required for `Bar` to implement `FullCodec`
@@ -115,14 +115,14 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
115115
| ^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar`
116116
|
117117
= help: the following other types implement trait `WrapperTypeEncode`:
118-
&T
119-
&mut T
120-
Arc<T>
121118
Box<T>
119+
bytes::bytes::Bytes
122120
Cow<'a, T>
121+
parity_scale_codec::Ref<'a, T, U>
122+
frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes
123123
Rc<T>
124+
Arc<T>
124125
Vec<T>
125-
bytes::bytes::Bytes
126126
and $N others
127127
= note: required for `Bar` to implement `Encode`
128128
= note: required for `Bar` to implement `FullEncode`

0 commit comments

Comments
 (0)