diff --git a/schala-repl/src/repl/mod.rs b/schala-repl/src/repl/mod.rs index ecf2c8e..bfd5d63 100644 --- a/schala-repl/src/repl/mod.rs +++ b/schala-repl/src/repl/mod.rs @@ -225,7 +225,7 @@ impl Repl { CommandTree::term_with_function("debug", Some("Configure debug information"), vec![ - CommandTree::term_with_function("list-passes", Some("List all registered compiler passes"), vec![], Box::new(|repl: &mut Repl, cmds: &[&str]| { + CommandTree::term_with_function("list-passes", Some("List all registered compiler passes"), vec![], Box::new(|repl: &mut Repl, _cmds: &[&str]| { let language_state = repl.get_cur_language_state(); let pass_names = match language_state.request_meta(LangMetaRequest::StageNames) { LangMetaResponse::StageNames(names) => names, @@ -250,7 +250,7 @@ impl Repl { ]) ], Box::new(|repl: &mut Repl, cmds: &[&str]| { - let mut cur_state = repl.get_cur_language_state(); + let cur_state = repl.get_cur_language_state(); match cmds.get(0) { Some(&"show-immediate") => { let stage_name = match cmds.get(1) {