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 clippy --release failure introduced in #4030 #4095

Merged
merged 1 commit into from
Apr 27, 2023
Merged

Commits on Apr 27, 2023

  1. fix clippy --release failure introduced in #4030

    PR  `build: run clippy for powerset of features (#4077)`
    brought us a `clippy --release` pass.
    
    It was merged after #4030, which fails under `clippy --release` with
    
    ```
    error: static `TENANT_ID_EXTRACTOR` is never used
        --> pageserver/src/tenant/timeline.rs:4270:16
         |
    4270 |     pub static TENANT_ID_EXTRACTOR: once_cell::sync::Lazy<
         |                ^^^^^^^^^^^^^^^^^^^
         |
         = note: `-D dead-code` implied by `-D warnings`
    
    error: static `TIMELINE_ID_EXTRACTOR` is never used
        --> pageserver/src/tenant/timeline.rs:4276:16
         |
    4276 |     pub static TIMELINE_ID_EXTRACTOR: once_cell::sync::Lazy<
         |                ^^^^^^^^^^^^^^^^^^^^^
    ```
    
    A merge queue would have prevented this.
    problame committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    1251960 View commit details
    Browse the repository at this point in the history