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

Fix a bunch of unused warnings #843

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Conversation

Ten0
Copy link
Contributor

@Ten0 Ten0 commented Feb 8, 2024

Tried to start working on a PR but my VSCode reported some of warnings with the current code.

It looks like Rust has recently improved their unused code diagnosis, where before if something was pub but unused within the crate and not reexported outside of the crate it wouldn't show the warning, and now it does.

Copy link

netlify bot commented Feb 8, 2024

Deploy Preview for cynic-querygen-web ready!

Name Link
🔨 Latest commit 472aa56
🔍 Latest deploy log https://app.netlify.com/sites/cynic-querygen-web/deploys/65c4f63ed628670008aa027b
😎 Deploy Preview https://deploy-preview-843--cynic-querygen-web.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@obmarg
Copy link
Owner

obmarg commented Feb 8, 2024

Nice. Hadn't seen these warnings yet myself, think I'm still running a fairly old rust w/ cynic. Good to fix them though - thanks @Ten0

@obmarg obmarg enabled auto-merge (squash) February 8, 2024 15:44
@obmarg obmarg merged commit 740aa34 into obmarg:main Feb 8, 2024
5 of 6 checks passed
@Ten0 Ten0 deleted the fix_unused_warnings branch February 8, 2024 15:55
@Ten0
Copy link
Contributor Author

Ten0 commented Feb 8, 2024

NB: wanted to start working on a PR but it turned out that the actual issue was TedDriggs/darling#263, so no extra PR to come 👌

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