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:
parent
f8f6a2e8ea
commit
97eaafe5da
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ macro_rules! generate_error_types {
|
||||||
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
#[allow(dead_code)]
|
||||||
mod test {
|
mod test {
|
||||||
|
|
||||||
generate_error_module!(
|
generate_error_module!(
|
||||||
|
|
Loading…
Reference in a new issue