about summary refs log tree commit diff
path: root/tvix/cli/src/known_paths.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/cli/src/known_paths.rs')
-rw-r--r--tvix/cli/src/known_paths.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/cli/src/known_paths.rs b/tvix/cli/src/known_paths.rs
index fe6d7f118163..f16fad902654 100644
--- a/tvix/cli/src/known_paths.rs
+++ b/tvix/cli/src/known_paths.rs
@@ -164,6 +164,7 @@ impl KnownPaths {
     }
 
     pub fn add_replacement_string<D: ToString>(&mut self, drv: D, replacement_str: &str) {
+        #[allow(unused_variables)] // assertions on this only compiled in debug builds
         let old = self
             .replacements
             .insert(drv.to_string(), replacement_str.to_owned());