diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-08-26 18:06:20 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-08-27 20:08:03 +0200 |
commit | d0f8002682b835f463e6e8e0125df14fa8ab83bf (patch) | |
tree | 12638c9a32ccdfb37dbfcded541dca946b83d41e /lib/entry | |
parent | 29d93a73f09500b269dd0b1ecdc61195a27c3aab (diff) |
Ensure deny() for warnings is in all crates
Diffstat (limited to 'lib/entry')
-rw-r--r-- | lib/entry/libimagentryannotation/src/lib.rs | 16 | ||||
-rw-r--r-- | lib/entry/libimagentrycategory/src/lib.rs | 16 | ||||
-rw-r--r-- | lib/entry/libimagentrydatetime/src/lib.rs | 16 | ||||
-rw-r--r-- | lib/entry/libimagentryedit/src/lib.rs | 16 | ||||
-rw-r--r-- | lib/entry/libimagentryfilter/src/lib.rs | 1 | ||||
-rw-r--r-- | lib/entry/libimagentrylink/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/entry/libimagentrymarkdown/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/entry/libimagentryref/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/entry/libimagentrytag/src/lib.rs | 2 |
9 files changed, 73 insertions, 0 deletions
diff --git a/lib/entry/libimagentryannotation/src/lib.rs b/lib/entry/libimagentryannotation/src/lib.rs index 0cb4e779..a4f335b6 100644 --- a/lib/entry/libimagentryannotation/src/lib.rs +++ b/lib/entry/libimagentryannotation/src/lib.rs @@ -17,6 +17,22 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // +#![deny( + dead_code, + non_camel_case_types, + non_snake_case, + path_statements, + trivial_numeric_casts, + unstable_features, + unused_allocation, + unused_import_braces, + unused_imports, + unused_must_use, + unused_mut, + unused_qualifications, + while_true, +)] + extern crate uuid; extern crate toml; diff --git a/lib/entry/libimagentrycategory/src/lib.rs b/lib/entry/libimagentrycategory/src/lib.rs index 8ffaafc7..c2b4daae 100644 --- a/lib/entry/libimagentrycategory/src/lib.rs +++ b/lib/entry/libimagentrycategory/src/lib.rs @@ -17,6 +17,22 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // +#![deny( + dead_code, + non_camel_case_types, + non_snake_case, + path_statements, + trivial_numeric_casts, + unstable_features, + unused_allocation, + unused_import_braces, + unused_imports, + unused_must_use, + unused_mut, + unused_qualifications, + while_true, +)] + extern crate toml_query; extern crate toml; #[macro_use] diff --git a/lib/entry/libimagentrydatetime/src/lib.rs b/lib/entry/libimagentrydatetime/src/lib.rs index fb0d73fa..06773d0f 100644 --- a/lib/entry/libimagentrydatetime/src/lib.rs +++ b/lib/entry/libimagentrydatetime/src/lib.rs @@ -17,6 +17,22 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // +#![deny( + dead_code, + non_camel_case_types, + non_snake_case, + path_statements, + trivial_numeric_casts, + unstable_features, + unused_allocation, + unused_import_braces, + unused_imports, + unused_must_use, + unused_mut, + unused_qualifications, + while_true, +)] + #[macro_use] extern crate lazy_static; extern crate chrono; extern crate toml_query; diff --git a/lib/entry/libimagentryedit/src/lib.rs b/lib/entry/libimagentryedit/src/lib.rs index 00013d5e..9d9187cd 100644 --- a/lib/entry/libimagentryedit/src/lib.rs +++ b/lib/entry/libimagentryedit/src/lib.rs @@ -17,6 +17,22 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // +#![deny( + dead_code, + non_camel_case_types, + non_snake_case, + path_statements, + trivial_numeric_casts, + unstable_features, + unused_allocation, + unused_import_braces, + unused_imports, + unused_must_use, + unused_mut, + unused_qualifications, + while_true, +)] + #[macro_use] extern crate libimagerror; extern crate libimagstore; extern crate libimagrt; diff --git a/lib/entry/libimagentryfilter/src/lib.rs b/lib/entry/libimagentryfilter/src/lib.rs index ad99db60..8b25c379 100644 --- a/lib/entry/libimagentryfilter/src/lib.rs +++ b/lib/entry/libimagentryfilter/src/lib.rs @@ -18,6 +18,7 @@ // #![deny( + dead_code, non_camel_case_types, non_snake_case, path_statements, diff --git a/lib/entry/libimagentrylink/src/lib.rs b/lib/entry/libimagentrylink/src/lib.rs index 2ed8b6ba..71562d9b 100644 --- a/lib/entry/libimagentrylink/src/lib.rs +++ b/lib/entry/libimagentrylink/src/lib.rs @@ -18,6 +18,7 @@ // #![deny( + dead_code, non_camel_case_types, non_snake_case, path_statements, @@ -26,6 +27,7 @@ unused_allocation, unused_import_braces, unused_imports, + unused_must_use, unused_mut, unused_qualifications, while_true, diff --git a/lib/entry/libimagentrymarkdown/src/lib.rs b/lib/entry/libimagentrymarkdown/src/lib.rs index 2efc6094..2d0ad848 100644 --- a/lib/entry/libimagentrymarkdown/src/lib.rs +++ b/lib/entry/libimagentrymarkdown/src/lib.rs @@ -18,6 +18,7 @@ // #![deny( + dead_code, non_camel_case_types, non_snake_case, path_statements, @@ -26,6 +27,7 @@ unused_allocation, unused_import_braces, unused_imports, + unused_must_use, unused_mut, unused_qualifications, while_true, diff --git a/lib/entry/libimagentryref/src/lib.rs b/lib/entry/libimagentryref/src/lib.rs index 86c187d0..b3291135 100644 --- a/lib/entry/libimagentryref/src/lib.rs +++ b/lib/entry/libimagentryref/src/lib.rs @@ -18,6 +18,7 @@ // #![deny( + dead_code, non_camel_case_types, non_snake_case, path_statements, @@ -26,6 +27,7 @@ unused_allocation, unused_import_braces, unused_imports, + unused_must_use, unused_mut, unused_qualifications, while_true, diff --git a/lib/entry/libimagentrytag/src/lib.rs b/lib/entry/libimagentrytag/src/lib.rs index bfc4d461..8c88f9b6 100644 --- a/lib/entry/libimagentrytag/src/lib.rs +++ b/lib/entry/libimagentrytag/src/lib.rs @@ -18,6 +18,7 @@ // #![deny( + dead_code, non_camel_case_types, non_snake_case, path_statements, @@ -26,6 +27,7 @@ unused_allocation, unused_import_braces, unused_imports, + unused_must_use, unused_mut, unused_qualifications, while_true, |