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

codegen: allow(unreachable_patterns) #1814

Merged
merged 1 commit into from
Oct 7, 2024
Merged

codegen: allow(unreachable_patterns) #1814

merged 1 commit into from
Oct 7, 2024

Commits on Oct 5, 2024

  1. Clippy allow - unreachable_patterns - with new rust version (1.81.0) …

    …clippy is complaining:
    
    ```
    error: unreachable pattern
        --> relay-clients/client-polkadot/src/codegen_runtime.rs:5751:22
         |
    5751 |                 Void(runtime_types::sp_core::Void),
         |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `codegen_runtime::api::runtime_types::sp_core::Void` is uninhabited
         |
         = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types
         = note: `-D unreachable-patterns` implied by `-D warnings`
         = help: to override `-D warnings` add `#[allow(unreachable_patterns)]`
    ```
    bkontur committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    ec96f96 View commit details
    Browse the repository at this point in the history