Skip to content

discriminator, type-length-value: support inline generic bounds in the derives - #213

Open
Iamsohungrynow wants to merge 1 commit into
solana-program:mainfrom
Iamsohungrynow:fix/derive-inline-generic-bounds
Open

Iamsohungrynow wants to merge 1 commit into
solana-program:mainfrom
Iamsohungrynow:fix/derive-inline-generic-bounds

Conversation

@Iamsohungrynow

Copy link
Copy Markdown
Contributor

#[derive(SplBorshVariableLenPack)] on struct Garage<T: BorshSerialize> fails with E0229, the derive repeats the bounds after the type name. SplDiscriminate had the same line, both use split_for_impl() now

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant