summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-12-25 19:23:39 +0100
committerMatthias Beyer <mail@beyermatthias.de>2017-12-25 19:23:41 +0100
commit46a8d373b3376db7f7d47f3b8657cb30f1e95036 (patch)
tree6e24b79d9c4d470df7a49c55a8307cdef05ab4f6
parentd6e1994eebcb929fc000d70df43f1ad3d3410621 (diff)
downloadimag-46a8d373b3376db7f7d47f3b8657cb30f1e95036.zip
imag-46a8d373b3376db7f7d47f3b8657cb30f1e95036.tar.gz
Allow dead code in whole module
-rw-r--r--lib/core/libimagstore/src/iter.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/core/libimagstore/src/iter.rs b/lib/core/libimagstore/src/iter.rs
index 8f8a544..d42c92f 100644
--- a/lib/core/libimagstore/src/iter.rs
+++ b/lib/core/libimagstore/src/iter.rs
@@ -182,6 +182,7 @@ mk_iterator_mod! {
}
#[cfg(test)]
+#[allow(dead_code)]
mod compile_test {
// This module contains code to check whether this actually compiles the way we would like it to
@@ -190,12 +191,10 @@ mod compile_test {
use store::Store;
use storeid::StoreId;
- #[allow(dead_code)]
fn store() -> Store {
unimplemented!()
}
- #[allow(dead_code)]
fn test_compile_get() {
use super::get::StoreIdGetIteratorExtension;
@@ -206,7 +205,6 @@ mod compile_test {
.into_get_iter(&store);
}
- #[allow(dead_code)]
fn test_compile_get_result() {
use super::get::StoreIdGetResultIteratorExtension;