Skip to content
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 dead code warning in expanded code #84

Open
ggwpez opened this issue Sep 20, 2024 · 0 comments · May be fixed by #85
Open

Fix dead code warning in expanded code #84

ggwpez opened this issue Sep 20, 2024 · 0 comments · May be fixed by #85
Assignees

Comments

@ggwpez
Copy link
Member

ggwpez commented Sep 20, 2024

Hitting this clippy warning here paritytech/polkadot-sdk#5676 (comment)

error: trait `OrchestraFieldState` is never used
     --> /__w/polkadot-sdk/polkadot-sdk/target/debug/build/expander-f21e58b59c39b7b5/out/orchestra-expansion-d13355006895.rs:14155:7
      |
14155 | trait OrchestraFieldState<T> {}
      |       ^^^^^^^^^^^^^^^^^^^
      |
      = note: `-D dead-code` implied by `-D warnings`
      = help: to override `-D warnings` add `#[allow(dead_code)]`

    Rustc finished with error: exit status 1
error: could not compile `polkadot-overseer` (lib) due to 1 previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants