mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
remove zombie code
This commit is contained in:
parent
86d2ba4f59
commit
0bf2a06bc0
@ -754,11 +754,6 @@ where R: 'static + Send,
|
||||
for pass in &passes {
|
||||
// determine if we know about this pass
|
||||
let pass = match passes::PASSES.iter().find(|(p, ..)| p == pass) {
|
||||
/*
|
||||
.position(|&(p, ..)| {
|
||||
p == *pass
|
||||
}) {
|
||||
*/
|
||||
Some(pass) => pass.1,
|
||||
None => {
|
||||
error!("unknown pass {}, skipping", *pass);
|
||||
|
Loading…
Reference in New Issue
Block a user