@@ -364,11 +364,10 @@ fn debug_parameter_prompt(
364364 _ => "".to_owned(),
365365 };
366366
367− let noop = |_input: &str| Vec::new();
368367 let completer = match &field_type[..] {
369368 "filename" => ui::completers::filename,
370369 "directory" => ui::completers::directory,
371− _ => noop,
370+ _ => |_input: &str| Vec::new(),
372371 };
373372 Prompt::new(
374373 format!("{}: ", name).into(),