Skip to content

ci(travis): run clippy only in nightly #26

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

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

mariocao
Copy link
Contributor

@mariocao mariocao commented Oct 2, 2018

This PR is a workaround it is not possible to #[allow(clippy)] in both beta and nightly versions.

In the nightly version, the following works

#![feature(tool_lints)]
#![allow(clippy::all)]

However, in the beta version, features are not supported and the allow does not work.

In the near future, once the nightly becomes a beta, then this workaround should be removed.

More info can be found here.

@mariocao mariocao force-pushed the travis-clippy branch 2 times, most recently from 44518fe to ce3478a Compare October 2, 2018 15:43
@aesedepece aesedepece merged commit 92dd59f into witnet:master Oct 2, 2018
@mariocao mariocao deleted the travis-clippy branch November 12, 2018 10:52
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