forked from paritytech/substrate
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
- Loading branch information
Showing
2 changed files
with
62 additions
and
62 deletions.
There are no files selected for viewing
62 changes: 31 additions & 31 deletions
62
frame/support/test/tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,105 @@ | ||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen.rs:9:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:10:12 | ||
| | ||
9 | #[pallet::pallet] | ||
| ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar` | ||
10 | #[pallet::without_storage_info] | ||
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `Decode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `PartialStorageInfoTrait` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `partial_storage_info` | ||
--> $DIR/storage.rs:88:2 | ||
--> $WORKSPACE/frame/support/src/traits/storage.rs | ||
| | ||
88 | fn partial_storage_info() -> Vec<StorageInfo>; | ||
| fn partial_storage_info() -> Vec<StorageInfo>; | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen.rs:9:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:10:12 | ||
| | ||
9 | #[pallet::pallet] | ||
| ^^^^^^ the trait `EncodeLike` is not implemented for `Bar` | ||
10 | #[pallet::without_storage_info] | ||
| ^^^^^^^^^^^^^^^^^^^^ the trait `EncodeLike` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `FullEncode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `PartialStorageInfoTrait` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `partial_storage_info` | ||
--> $DIR/storage.rs:88:2 | ||
--> $WORKSPACE/frame/support/src/traits/storage.rs | ||
| | ||
88 | fn partial_storage_info() -> Vec<StorageInfo>; | ||
| fn partial_storage_info() -> Vec<StorageInfo>; | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen.rs:9:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:10:12 | ||
| | ||
9 | #[pallet::pallet] | ||
| ^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar` | ||
10 | #[pallet::without_storage_info] | ||
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `Encode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullEncode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `PartialStorageInfoTrait` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `partial_storage_info` | ||
--> $DIR/storage.rs:88:2 | ||
--> $WORKSPACE/frame/support/src/traits/storage.rs | ||
| | ||
88 | fn partial_storage_info() -> Vec<StorageInfo>; | ||
| fn partial_storage_info() -> Vec<StorageInfo>; | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen.rs:20:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:21:12 | ||
| | ||
20 | #[pallet::storage] | ||
21 | #[pallet::storage] | ||
| ^^^^^^^ the trait `TypeInfo` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `StaticTypeInfo` for `Bar` | ||
= note: required because of the requirements on the impl of `StorageEntryMetadataBuilder` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `build_metadata` | ||
--> $DIR/mod.rs:113:2 | ||
--> $WORKSPACE/frame/support/src/storage/types/mod.rs | ||
| | ||
113 | fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen.rs:20:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:21:12 | ||
| | ||
20 | #[pallet::storage] | ||
21 | #[pallet::storage] | ||
| ^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `Decode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `StorageEntryMetadataBuilder` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `build_metadata` | ||
--> $DIR/mod.rs:113:2 | ||
--> $WORKSPACE/frame/support/src/storage/types/mod.rs | ||
| | ||
113 | fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen.rs:20:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:21:12 | ||
| | ||
20 | #[pallet::storage] | ||
21 | #[pallet::storage] | ||
| ^^^^^^^ the trait `EncodeLike` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `FullEncode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `StorageEntryMetadataBuilder` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `build_metadata` | ||
--> $DIR/mod.rs:113:2 | ||
--> $WORKSPACE/frame/support/src/storage/types/mod.rs | ||
| | ||
113 | fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen.rs:20:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:21:12 | ||
| | ||
20 | #[pallet::storage] | ||
21 | #[pallet::storage] | ||
| ^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `Encode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullEncode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `StorageEntryMetadataBuilder` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `build_metadata` | ||
--> $DIR/mod.rs:113:2 | ||
--> $WORKSPACE/frame/support/src/storage/types/mod.rs | ||
| | ||
113 | fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
62 changes: 31 additions & 31 deletions
62
frame/support/test/tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,105 @@ | ||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:9:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:10:12 | ||
| | ||
9 | #[pallet::pallet] | ||
| ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar` | ||
10 | #[pallet::without_storage_info] | ||
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `Decode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `PartialStorageInfoTrait` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `partial_storage_info` | ||
--> $DIR/storage.rs:88:2 | ||
--> $WORKSPACE/frame/support/src/traits/storage.rs | ||
| | ||
88 | fn partial_storage_info() -> Vec<StorageInfo>; | ||
| fn partial_storage_info() -> Vec<StorageInfo>; | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:9:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:10:12 | ||
| | ||
9 | #[pallet::pallet] | ||
| ^^^^^^ the trait `EncodeLike` is not implemented for `Bar` | ||
10 | #[pallet::without_storage_info] | ||
| ^^^^^^^^^^^^^^^^^^^^ the trait `EncodeLike` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `FullEncode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `PartialStorageInfoTrait` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `partial_storage_info` | ||
--> $DIR/storage.rs:88:2 | ||
--> $WORKSPACE/frame/support/src/traits/storage.rs | ||
| | ||
88 | fn partial_storage_info() -> Vec<StorageInfo>; | ||
| fn partial_storage_info() -> Vec<StorageInfo>; | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:9:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:10:12 | ||
| | ||
9 | #[pallet::pallet] | ||
| ^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar` | ||
10 | #[pallet::without_storage_info] | ||
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `Encode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullEncode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `PartialStorageInfoTrait` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `partial_storage_info` | ||
--> $DIR/storage.rs:88:2 | ||
--> $WORKSPACE/frame/support/src/traits/storage.rs | ||
| | ||
88 | fn partial_storage_info() -> Vec<StorageInfo>; | ||
| fn partial_storage_info() -> Vec<StorageInfo>; | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:20:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:21:12 | ||
| | ||
20 | #[pallet::storage] | ||
21 | #[pallet::storage] | ||
| ^^^^^^^ the trait `TypeInfo` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `StaticTypeInfo` for `Bar` | ||
= note: required because of the requirements on the impl of `StorageEntryMetadataBuilder` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `build_metadata` | ||
--> $DIR/mod.rs:113:2 | ||
--> $WORKSPACE/frame/support/src/storage/types/mod.rs | ||
| | ||
113 | fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:20:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:21:12 | ||
| | ||
20 | #[pallet::storage] | ||
21 | #[pallet::storage] | ||
| ^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `Decode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `StorageEntryMetadataBuilder` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `build_metadata` | ||
--> $DIR/mod.rs:113:2 | ||
--> $WORKSPACE/frame/support/src/storage/types/mod.rs | ||
| | ||
113 | fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:20:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:21:12 | ||
| | ||
20 | #[pallet::storage] | ||
21 | #[pallet::storage] | ||
| ^^^^^^^ the trait `EncodeLike` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `FullEncode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `StorageEntryMetadataBuilder` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `build_metadata` | ||
--> $DIR/mod.rs:113:2 | ||
--> $WORKSPACE/frame/support/src/storage/types/mod.rs | ||
| | ||
113 | fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied | ||
--> $DIR/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:20:12 | ||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:21:12 | ||
| | ||
20 | #[pallet::storage] | ||
21 | #[pallet::storage] | ||
| ^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar` | ||
| | ||
= note: required because of the requirements on the impl of `Encode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullEncode` for `Bar` | ||
= note: required because of the requirements on the impl of `FullCodec` for `Bar` | ||
= note: required because of the requirements on the impl of `StorageEntryMetadataBuilder` for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` | ||
note: required by `build_metadata` | ||
--> $DIR/mod.rs:113:2 | ||
--> $WORKSPACE/frame/support/src/storage/types/mod.rs | ||
| | ||
113 | fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| fn build_metadata(doc: Vec<&'static str>, entries: &mut Vec<StorageEntryMetadata>); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |