Avoid dead code warning on void enum in test
This commit is contained in:
parent
a34af0d6a6
commit
99f035e1b8
|
@ -49,7 +49,7 @@ struct NestedShorthand(bool);
|
|||
|
||||
#[derive(Error, Debug)]
|
||||
#[error("...")]
|
||||
enum Void {}
|
||||
pub enum Void {}
|
||||
|
||||
fn not(bool: &bool) -> bool {
|
||||
!*bool
|
||||
|
|
Loading…
Reference in New Issue