-
Notifications
You must be signed in to change notification settings - Fork 71
Description
on anchor build
Compiling mpl-token-metadata v1.13.1
error[E0277]: the trait bound T: borsh::de::BorshDeserialize is not satisfied
--> src/utils/mod.rs:176:21
|
176 | let result: T = try_from_slice_unchecked(data)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait borsh::de::BorshDeserialize is not implemented for T
|
note: required by a bound in solana_program::borsh::try_from_slice_unchecked
--> src/borsh.rs:39:1
help: consider further restricting this bound
|
167 | pub fn try_from_slice_checked<T: TokenMetadataAccount + borsh::de::BorshDeserialize>(
| +++++++++++++++++++++++++++++
For more information about this error, try rustc --explain E0277.
error: could not compile mpl-token-metadata (lib) due to previous error