-
Notifications
You must be signed in to change notification settings - Fork 29
Add Clippy checks to the travis script #42
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
Add Clippy checks to the travis script #42
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я так понимаю, это значит "clippy, молчи, тут нужно передавать по значению":
[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))]
Можно ли это сделать на уровне файла, если там одни JNI функции? Или так ты можешь потерять полезные сообщения clippy?
Right, it is needed to disable some checks and you give me even a better idea: this warning can be disabled for the whole project and enabled only for the |
Finally ready for review. 😅 |
the less annotations, the better :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I right that a nightly version of Rust is required to run clippy?
Unfortunately, yes. Clippy uses unstable language features that are available only in the nightly builds. |
Closes #38.