-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
91 additions
and
95 deletions.
There are no files selected for viewing
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
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
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
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
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
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,22 +1,22 @@ | ||
error[E0277]: the trait bound `NotEncode: WrapperTypeEncode` is not satisfied | ||
--> tests/max_encoded_len_ui/not_encode.rs:4:8 | ||
| | ||
4 | struct NotEncode; | ||
| ^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `NotEncode` | ||
| | ||
= help: the following other types implement trait `WrapperTypeEncode`: | ||
&T | ||
&mut T | ||
Arc<T> | ||
Box<T> | ||
Cow<'a, T> | ||
Rc<T> | ||
String | ||
Vec<T> | ||
parity_scale_codec::Ref<'a, T, U> | ||
= note: required for `NotEncode` to implement `Encode` | ||
--> tests/max_encoded_len_ui/not_encode.rs:4:8 | ||
| | ||
4 | struct NotEncode; | ||
| ^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `NotEncode` | ||
| | ||
= help: the following other types implement trait `WrapperTypeEncode`: | ||
Box<T> | ||
Cow<'a, T> | ||
parity_scale_codec::Ref<'a, T, U> | ||
Rc<T> | ||
Arc<T> | ||
Vec<T> | ||
String | ||
&T | ||
&mut T | ||
= note: required for `NotEncode` to implement `Encode` | ||
note: required by a bound in `MaxEncodedLen` | ||
--> src/max_encoded_len.rs | ||
| | ||
| pub trait MaxEncodedLen: Encode { | ||
| ^^^^^^ required by this bound in `MaxEncodedLen` | ||
--> src/max_encoded_len.rs | ||
| | ||
| pub trait MaxEncodedLen: Encode { | ||
| ^^^^^^ required by this bound in `MaxEncodedLen` |
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,5 +1,5 @@ | ||
error: Union types are not supported. | ||
--> $DIR/union.rs:4:1 | ||
--> tests/max_encoded_len_ui/union.rs:4:1 | ||
| | ||
4 | union Union { | ||
| ^^^^^ |
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