Skip to content

Commit 2133b33

Browse files
committed
Remove unused error variant
1 parent e835591 commit 2133b33

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/builder/error.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,6 @@ pub enum BootloaderError {
9696
/// Bootloader dependency has not the right format
9797
#[error("The `bootloader` dependency has not the right format: {0}")]
9898
BootloaderInvalid(String),
99-
/// Could not find kernel package in cargo metadata
100-
#[error("Could not find package for binary `{bin_name}` in cargo metadata output")]
101-
KernelBinPackageNotFound {
102-
/// The name of the kernel binary
103-
bin_name: String,
104-
},
10599
/// Could not find some required information in the `cargo metadata` output
106100
#[error("Could not find required key `{key}` in cargo metadata output")]
107101
CargoMetadataIncomplete {
@@ -127,6 +121,7 @@ pub enum DiskImageError {
127121
/// The llvm-tools component did not contain the required `llvm-objcopy` executable
128122
#[error("Could not find `llvm-objcopy` in the `llvm-tools-preview` rustup component.")]
129123
LlvmObjcopyNotFound,
124+
130125
/// The `llvm-objcopy` command failed
131126
#[error("Failed to run `llvm-objcopy`: {}", String::from_utf8_lossy(.stderr))]
132127
ObjcopyFailed {

0 commit comments

Comments
 (0)