Add #[allow(unused_mut)] on reorg_test as older rustc requires mut
[rust-lightning] / lightning / src / ln / mod.rs
index bebd763f660b83569ac7e1c1eff93770d7696b12..758927fdf17bb0ea221146ad4901517959418675 100644 (file)
@@ -34,7 +34,11 @@ pub mod peer_channel_encryptor;
 #[cfg(not(feature = "fuzztarget"))]
 pub(crate) mod peer_channel_encryptor;
 
+#[cfg(feature = "fuzztarget")]
+pub mod channel;
+#[cfg(not(feature = "fuzztarget"))]
 mod channel;
+
 mod onion_utils;
 mod wire;
 
@@ -49,6 +53,7 @@ mod functional_tests;
 #[allow(unused_mut)]
 mod chanmon_update_fail_tests;
 #[cfg(test)]
+#[allow(unused_mut)]
 mod reorg_tests;
 #[cfg(test)]
 #[allow(unused_mut)]