diff --git a/libimagerror/src/error_gen.rs b/libimagerror/src/error_gen.rs index 4f4d6c7e..38cb1590 100644 --- a/libimagerror/src/error_gen.rs +++ b/libimagerror/src/error_gen.rs @@ -416,7 +416,7 @@ mod test { let something : Option = None; match something.ok_or_errkind(TestErrorKind::TestErrorKindA) { Ok(_) => assert!(false), - Err(e) => assert!(true), + Err(_) => assert!(true), } }