refact(rustup): make_dependency panic

calling this would be a programming error, therefore a panic is warranted
This commit is contained in:
steven-omaha
2024-04-03 17:42:57 +02:00
parent 2952b7ba44
commit 937efc3782
@@ -57,7 +57,7 @@ impl Backend for Rustup {
}
fn make_dependency(&self, _: &[Package]) -> Result<ExitStatus> {
bail!("Not supported by {}", self.get_binary())
panic!("Not supported by {}", self.get_binary())
}
fn install_packages(&self, packages: &[Package], _: bool) -> Result<ExitStatus> {