chore(cargo): compilation without local overrides

Also checked in code for groupsmigration to allow others to test it
simply by checking out the right commit.
This commit is contained in:
Sebastian Thiel
2015-05-12 17:21:25 +02:00
parent f83dff672b
commit e434563215
8 changed files with 78 additions and 23 deletions

View File

@@ -61,9 +61,11 @@ impl<'n, 'a> Engine<'n, 'a> {
}
}
if !found {
err.issues.push(CLIError::UnknownParameter(key.to_string(),
Vec::new() + &self.gp + &[]
));
err.issues.push(CLIError::UnknownParameter(key.to_string(),
{let mut v = Vec::new();
v.extend(self.gp.iter().map(|v|*v));
v.extend([].iter().map(|v|*v));
v } ));
}
}
}