-
Notifications
You must be signed in to change notification settings - Fork 2
With #[context]
, a function never gets marked unused
#3
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
Comments
Unfortunately this looks like a limitation of rust macros. All lints originating from inside an external macro are suppressed (rust-lang/rust#52467) |
After some experimentation, it turns out we were losing the spans on the Thanks for the issue! |
I've published 0.1.2 with the fix for this |
Title should be self-explanatory. This should result in an unused function warning:
The text was updated successfully, but these errors were encountered: