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

Clippy linter complains about Error size. #2515

Closed
D0bhareach opened this issue Jun 4, 2023 · 1 comment
Closed

Clippy linter complains about Error size. #2515

D0bhareach opened this issue Jun 4, 2023 · 1 comment
Labels

Comments

@D0bhareach
Copy link

My functions in Anchor code had squiggly yellow lines under returned Result. Clippy warns about Error size.
Couse of the problem
dtolnay about errors (rust-lang/depricated)
Rust forum about large error
Rust Forum discussion about wrapping Error in the Box

@acheroncrypto
Copy link
Collaborator

Thank you, fixed in #2600.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants