diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-02-05 15:08:19 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-02-05 15:57:46 +0100 |
commit | 97eaafe5da9506e11cbc2211b751a87e6546df1b (patch) | |
tree | a63364d98005e7acb4f807dd0ebb465a30f2fb26 | |
parent | f8f6a2e8eac233b31749ac7da21de87b1401d289 (diff) |
Allow dead code in the whole test module
As the generate_custom_error_types!() generates code in the tests which
are not used at all.
-rw-r--r-- | libimagerror/src/error_gen.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libimagerror/src/error_gen.rs b/libimagerror/src/error_gen.rs index 38cb1590..7a9fc18a 100644 --- a/libimagerror/src/error_gen.rs +++ b/libimagerror/src/error_gen.rs @@ -226,6 +226,7 @@ macro_rules! generate_error_types { #[cfg(test)] +#[allow(dead_code)] mod test { generate_error_module!( |