Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lang: adjust error code so #[error_code] works with just importing anchor_lang::error_code #1610

Merged
merged 4 commits into from
Mar 16, 2022

Conversation

paul-schaaf
Copy link
Contributor

you currently have to import anchor_lang::prelude::* / more imports than just anchor_lang::error_code so it compiles

@paul-schaaf paul-schaaf changed the title lang: adjust error code so #[error_code] works with just importing 'nchor_lang::error_code' lang: adjust error code so #[error_code] works with just importing 'anchor_lang::error_code' Mar 13, 2022
@paul-schaaf paul-schaaf changed the title lang: adjust error code so #[error_code] works with just importing 'anchor_lang::error_code' lang: adjust error code so #[error_code] works with just importing anchor_lang::error_code Mar 13, 2022
@paul-schaaf paul-schaaf merged commit 170a763 into coral-xyz:master Mar 16, 2022
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.

None yet

2 participants