File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 5151//! Object::Archive(archive) => {
5252//! println!("archive: {:#?}", &archive);
5353//! },
54- //! Object::Unknown(magic) => { println!("unknown magic: {:#x}", magic) }
54+ //! Object::Unknown(magic) => { println!("unknown magic: {:#x}", magic) },
55+ //! _ => { }
5556//! }
5657//! }
5758//! }
@@ -221,6 +222,7 @@ pub struct HintData {
221222}
222223
223224#[ derive( Debug ) ]
225+ #[ non_exhaustive]
224226/// A hint at the underlying binary format for 16 bytes of arbitrary data
225227pub enum Hint {
226228 Elf ( HintData ) ,
@@ -281,6 +283,7 @@ if_everything! {
281283
282284 #[ derive( Debug ) ]
283285 #[ allow( clippy:: large_enum_variant) ]
286+ #[ non_exhaustive]
284287 /// A parseable object that goblin understands
285288 pub enum Object <' a> {
286289 /// An ELF32/ELF64!
You can’t perform that action at this time.
0 commit comments