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.
This commit is contained in:
Matthias Beyer 2017-02-05 15:08:19 +01:00
parent f8f6a2e8ea
commit 97eaafe5da

View file

@ -226,6 +226,7 @@ macro_rules! generate_error_types {
#[cfg(test)]
#[allow(dead_code)]
mod test {
generate_error_module!(