diff --git a/tooling/nargo_cli/src/cli/dap_cmd.rs b/tooling/nargo_cli/src/cli/dap_cmd.rs index e80ce0c091b..1a97abca6c3 100644 --- a/tooling/nargo_cli/src/cli/dap_cmd.rs +++ b/tooling/nargo_cli/src/cli/dap_cmd.rs @@ -179,9 +179,7 @@ fn load_and_compile_test_function( check_crate( &mut context, crate_id, - compile_options.deny_warnings, - compile_options.disable_macros, - compile_options.debug_comptime_in_file.as_deref(), + compile_options, ) .expect("Any errors should have occurred when collecting test functions");