From 2ddbe6b98f171cb3b1d550877e0296054a0db331 Mon Sep 17 00:00:00 2001 From: Edgar Date: Tue, 7 May 2024 11:51:54 +0200 Subject: [PATCH] fix clippy --- crates/concrete_driver/tests/common.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/concrete_driver/tests/common.rs b/crates/concrete_driver/tests/common.rs index ba1e261..1afe123 100644 --- a/crates/concrete_driver/tests/common.rs +++ b/crates/concrete_driver/tests/common.rs @@ -61,7 +61,7 @@ pub fn compile_program( let input_file = test_dir_path.join(name).with_extension(".con"); std::fs::write(&input_file, source.input(&db))?; - program.file_path = Some(input_file); + program.file_path = Some(input_file.clone()); let output_file = test_dir_path.join(name); let output_file = if library { @@ -81,6 +81,7 @@ pub fn compile_program( output_mlir: false, output_ll: false, output_asm: false, + file_paths: vec![input_file], }; let program_ir = lower_programs(&[program])?;