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

CandidType derived on Enums gives an unused variable warning #468

Open
borovan opened this issue Sep 27, 2023 · 1 comment
Open

CandidType derived on Enums gives an unused variable warning #468

borovan opened this issue Sep 27, 2023 · 1 comment

Comments

@borovan
Copy link

borovan commented Sep 27, 2023

I'm getting Rust warnings from the CandidType derive macro, only on enums and records with no fields.

Not a huge issue but there's a lot of yellow squiggles all over my VSCode.

image

Thanks!

@chenyan-dfinity
Copy link
Contributor

chenyan-dfinity commented Sep 27, 2023

What's this enum attributes? It doesn't seem to come from candid?

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

No branches or pull requests

2 participants