We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
non_exhaustive
1 parent 88fd134 commit 3956699Copy full SHA for 3956699
src/aml/mod.rs
@@ -2579,10 +2579,8 @@ pub enum Operation {
2579
ParseResource,
2580
}
2581
2582
-/*
2583
- * TODO: not sure if we should use a better error reporting system or just keep a giant enum?
2584
- */
2585
#[derive(Clone, PartialEq, Debug)]
+#[non_exhaustive]
2586
pub enum AmlError {
2587
RunOutOfStream,
2588
IllegalOpcode(u16),
src/lib.rs
@@ -235,6 +235,7 @@ pub unsafe trait AcpiTable {
235
236
237
#[derive(Clone, Debug)]
238
239
pub enum AcpiError {
240
NoValidRsdp,
241
RsdpIncorrectSignature,
0 commit comments