Kill unused

This commit is contained in:
greg 2019-05-14 02:12:18 -07:00
parent 198f93c533
commit e9ea7811df
1 changed files with 2 additions and 2 deletions

View File

@ -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) {