-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Rust beta compiler errors (1.77) #5180
Conversation
b836ff8
to
774e0fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Jimmy
pub struct Libp2pInstance( | ||
LibP2PService<ReqId, E>, | ||
#[allow(dead_code)] | ||
// This field is managed for lifetime purposes may not be used directly, hence the `#[allow(dead_code)]` attribute. | ||
exit_future::Signal, | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NB: submitted #5183, we don't need exit_future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking we merge this one first to get CI working and update this in #5183
Co-authored-by: João Oliveira <[email protected]>
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 39e9f7d |
* Lint fixes * More fixes for beta compiler. * Format fixes * Move `#[allow(dead_code)]` to field level. * Remove old comment. * Update beacon_node/execution_layer/src/test_utils/mod.rs Co-authored-by: João Oliveira <[email protected]> * remove duplicate line
Issue Addressed
Fix compilation/lint errors when compiling lighthouse using 1.77 beta compiler.
The fixes for
unused code
aren't ideal, but I can't think of a better way rn (related issue here):