Repository navigation
fix(ci): deny warnings in 'features' step #4253
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| #![deny(missing_docs)] | ||
| #![deny(missing_debug_implementations)] | ||
| #![cfg_attr(test, deny(rust_2018_idioms))] | ||
| #![cfg_attr(all(test, feature = "full"), deny(unreachable_pub))] | ||
| #![cfg_attr(all(test, feature = "full"), deny(warnings))] | ||
| #![cfg_attr( | ||
| any(all(test, feature = "full"), feature = "__deny_warnings"), | ||
| deny(warnings, unreachable_pub) | ||
| )] | ||
|
Comment on lines
+4
to
+7
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i preserved the existing |
||
| #![cfg_attr(all(test, feature = "nightly"), feature(test))] | ||
| #![cfg_attr(docsrs, feature(doc_cfg))] | ||
|
|
||
|
|
||
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.
i used two leading underscores in the name of this, following the convention set by previous feature flags like
__internal_flaky_testsand__internal_happy_eyeballs_tests.