-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix compile with new compiler - dead code #4530
Conversation
@@ -19,12 +19,16 @@ use polkadot_node_subsystem_util::metrics::{self, prometheus}; | |||
#[derive(Clone)] | |||
struct MetricsInner { | |||
/// Number of opened disputes. | |||
#[cfg(feature = "disputes")] |
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.
More stuff to remove when we get rid of the feature gate :P
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.
Yeah, ...
#[structopt(long)] | ||
at: Option<Hash>, | ||
|
||
/// The solver algorithm to use. | ||
#[allow(dead_code)] |
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.
if unused should be removed?
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.
Yes, but this would change public API, hence we can't remove it like that without risking breakage.
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.
cc @kianenigma
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.
Unless there is a decision before CI passes, let's make this a follow-up and avoid any further friction for people getting red CI tests and the goto fix merge master
doesn't cut it :)
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.
ack, thanks for the ping @ordian.
bot merge |
Waiting for commit status. |
* master: Bump tokio from 1.14.0 to 1.15.0 (#4537) Bump mick-jaeger from 0.1.6 to 0.1.7 (#4538) Versi chainspec based on Rococo. (#4485) Bump proc-macro2 from 1.0.33 to 1.0.34 (#4526) fix compile with new compiler - dead code (#4530) introduce trusted parachain Encointer for rococo and westend (#4213) add Encointer TrustedTeleporter (#4401) Bump libc from 0.2.109 to 0.2.112 (#4522) Bump serde_json from 1.0.72 to 1.0.73 (#4523)
No description provided.