Skip to content

Commit

Permalink
TRYBUILD=overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
vorot93 committed Jan 11, 2022
1 parent a37dade commit de64dd7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/max_encoded_len_ui/not_mel.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ error[E0599]: the function or associated item `max_encoded_len` exists for struc
= note: the following trait bounds were not satisfied:
`NotMel: MaxEncodedLen`
which is required by `Generic<NotMel>: MaxEncodedLen`
note: the following trait must be implemented
--> src/max_encoded_len.rs
|
| / pub trait MaxEncodedLen: Encode {
| | /// Upper bound, in bytes, of the maximum encoded size of this item.
| | fn max_encoded_len() -> usize;
| | }
| |_^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `max_encoded_len`, perhaps you need to implement it:
candidate #1: `MaxEncodedLen`

0 comments on commit de64dd7

Please sign in to comment.