Last active
September 3, 2018 13:04
-
-
Save zakarumych/e4ecba5fa03ef4791a36bf06ea7a81e6 to your computer and use it in GitHub Desktop.
Crate level lint config.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! Default crate level lint configuration I prefer to keep my code cleaner. | |
#![forbid(overflowing_literals)] | |
#![deny(missing_copy_implementations)] | |
#![deny(missing_debug_implementations)] | |
#![deny(missing_docs)] | |
#![deny(intra_doc_link_resolution_failure)] | |
#![deny(path_statements)] | |
#![deny(trivial_bounds)] | |
#![deny(type_alias_bounds)] | |
#![deny(unconditional_recursion)] | |
#![deny(unions_with_drop_fields)] | |
#![deny(unreachable_code)] | |
#![deny(unreachable_patterns)] | |
#![deny(while_true)] | |
#![deny(unused)] | |
#![deny(bad_style)] | |
#![deny(future_incompatible)] | |
#![deny(rust_2018_compatibility)] | |
#![deny(rust_2018_idioms)] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment