File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -326,6 +326,8 @@ pub enum BuildKernelError {
326
326
} ,
327
327
XbuildJsonOutputInvalidUtf8 ( std:: string:: FromUtf8Error ) ,
328
328
XbuildJsonOutputInvalidJson ( json:: Error ) ,
329
+ #[ doc( hidden) ]
330
+ __NonExhaustive,
329
331
}
330
332
331
333
impl fmt:: Display for BuildKernelError {
@@ -350,6 +352,7 @@ impl fmt::Display for BuildKernelError {
350
352
BuildKernelError :: XbuildJsonOutputInvalidJson ( err) => {
351
353
writeln ! ( f, "Output of kernel build with --message-format=json is not valid JSON:\n {}" , err)
352
354
}
355
+ BuildKernelError :: __NonExhaustive => panic ! ( "__NonExhaustive variant constructed" ) ,
353
356
}
354
357
}
355
358
}
@@ -385,6 +388,8 @@ pub enum CreateBootimageError {
385
388
} ,
386
389
XbuildJsonOutputInvalidUtf8 ( std:: string:: FromUtf8Error ) ,
387
390
XbuildJsonOutputInvalidJson ( json:: Error ) ,
391
+ #[ doc( hidden) ]
392
+ __NonExhaustive,
388
393
}
389
394
390
395
impl fmt:: Display for CreateBootimageError {
@@ -443,6 +448,7 @@ impl fmt::Display for CreateBootimageError {
443
448
"Output of bootloader build with --message-format=json is not valid JSON:\n {}" ,
444
449
err
445
450
) ,
451
+ CreateBootimageError :: __NonExhaustive => panic ! ( "__NonExhaustive variant constructed" ) ,
446
452
}
447
453
}
448
454
}
You can’t perform that action at this time.
0 commit comments