mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 23:04:53 +00:00
Fix test warnings on Rust 1.56.0 (#2743)
## Issue Addressed Continuation of #2728, fix the fork choice tests for Rust 1.56.0 so that `unstable` is free of warnings. CI will be broken until this PR merges, because we strictly enforce the absence of warnings (even for tests)
This commit is contained in:
@@ -602,7 +602,7 @@ macro_rules! assert_invalid_block {
|
||||
$err,
|
||||
$( ForkChoiceError::InvalidBlock($error) ) |+ $( if $guard )?
|
||||
),
|
||||
);
|
||||
)
|
||||
};
|
||||
}
|
||||
|
||||
@@ -710,7 +710,7 @@ macro_rules! assert_invalid_attestation {
|
||||
),
|
||||
"{:?}",
|
||||
$err
|
||||
);
|
||||
)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user