Skip to content

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

Merged
paul-schaaf merged 4 commits into
otter-sec:masterfrom
paul-schaaf:fix-error-exports
Mar 16, 2022
Merged

lang: adjust error code so #[error_code] works with just importing anchor_lang::error_code#1610
paul-schaaf merged 4 commits into
otter-sec:masterfrom
paul-schaaf:fix-error-exports

Conversation

@paul-schaaf

Copy link
Copy Markdown
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 otter-sec:master Mar 16, 2022
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
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.

2 participants