Kill unused
This commit is contained in:
parent
198f93c533
commit
e9ea7811df
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user