mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-22 08:04:19 +02:00
Enable more compiler lints
This commit is contained in:
parent
11a28d4f74
commit
dcd80a92b2
1 changed files with 8 additions and 0 deletions
|
|
@ -8,6 +8,14 @@
|
|||
// option. All files in the project carrying such notice may not be
|
||||
// copied, modified, or distributed except according to those terms.
|
||||
|
||||
#![deny(missing_docs, missing_debug_implementations,
|
||||
unsafe_code,
|
||||
unused_import_braces, unused_qualifications)]
|
||||
#![warn(trivial_casts, trivial_numeric_casts,
|
||||
missing_copy_implementations,
|
||||
unused_extern_crates, unused_results)]
|
||||
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
#[cfg(feature = "logging")]extern crate env_logger;
|
||||
extern crate docopt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue