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 | |
parent | 29d93a73f09500b269dd0b1ecdc61195a27c3aab (diff) |
Ensure deny() for warnings is in all crates
Diffstat (limited to 'lib')
-rw-r--r-- | lib/core/libimagerror/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/core/libimagstore/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/domain/libimagbookmark/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/domain/libimagcounter/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/domain/libimagmail/src/lib.rs | 16 | ||||
-rw-r--r-- | lib/domain/libimagtimetrack/src/lib.rs | 16 | ||||
-rw-r--r-- | lib/domain/libimagtodo/src/lib.rs | 2 | ||||
-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 | ||||
-rw-r--r-- | lib/etc/libimaginteraction/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/etc/libimagtimeui/src/lib.rs | 2 | ||||
-rw-r--r-- | lib/etc/libimagutil/src/lib.rs | 1 |
19 files changed, 120 insertions, 0 deletions
diff --git a/lib/core/libimagerror/src/lib.rs b/lib/core/libimagerror/src/lib.rs index bc4f865d..0ed1e7f3 100644 --- a/lib/core/libimagerror/src/lib.rs +++ b/lib/core/libimagerror/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/core/libimagstore/src/lib.rs b/lib/core/libimagstore/src/lib.rs index ae205b83..afb40e80 100644 --- a/lib/core/libimagstore/src/lib.rs +++ b/lib/core/libimagstore/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/domain/libimagbookmark/src/lib.rs b/lib/domain/libimagbookmark/src/lib.rs index e576ff1d..e5a34357 100644 --- a/lib/domain/libimagbookmark/src/lib.rs +++ b/lib/domain/libimagbookmark/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/domain/libimagcounter/src/lib.rs b/lib/domain/libimagcounter/src/lib.rs index 09ba1786..13bf7367 100644 --- a/lib/domain/libimagcounter/src/lib.rs +++ b/lib/domain/libimagcounter/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/domain/libimagmail/src/lib.rs b/lib/domain/libimagmail/src/lib.rs index 23c9e60f..ae3fa850 100644 --- a/lib/domain/libimagmail/src/lib.rs +++ b/lib/domain/libimagmail/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 log; extern crate email; extern crate semver; diff --git a/lib/domain/libimagtimetrack/src/lib.rs b/lib/domain/libimagtimetrack/src/lib.rs index e3f9d2aa..0e92d2e8 100644 --- a/lib/domain/libimagtimetrack/src/lib.rs +++ b/lib/domain/libimagtimetrack/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 filters; extern crate chrono; extern crate toml; diff --git a/lib/domain/libimagtodo/src/lib.rs b/lib/domain/libimagtodo/src/lib.rs index 16fcc11b..c1289f8d 100644 --- a/lib/domain/libimagtodo/src/lib.rs +++ b/lib/domain/libimagtodo/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/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, diff --git a/lib/etc/libimaginteraction/src/lib.rs b/lib/etc/libimaginteraction/src/lib.rs index 67c61cf4..b0663f8b 100644 --- a/lib/etc/libimaginteraction/src/lib.rs +++ b/lib/etc/libimaginteraction/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/etc/libimagtimeui/src/lib.rs b/lib/etc/libimagtimeui/src/lib.rs index b06bba78..b7652b57 100644 --- a/lib/etc/libimagtimeui/src/lib.rs +++ b/lib/etc/libimagtimeui/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/etc/libimagutil/src/lib.rs b/lib/etc/libimagutil/src/lib.rs index b5d30f51..81dce538 100644 --- a/lib/etc/libimagutil/src/lib.rs +++ b/lib/etc/libimagutil/src/lib.rs @@ -18,6 +18,7 @@ // #![deny( + dead_code, non_camel_case_types, non_snake_case, path_statements, |