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

Conversation

problame
Copy link
Contributor

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 problame requested a review from koivunej April 27, 2023 12:56
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 problame marked this pull request as ready for review April 27, 2023 13:10
@problame problame requested review from a team as code owners April 27, 2023 13:10
@problame problame requested review from save-buffer and removed request for a team April 27, 2023 13:10
@problame problame enabled auto-merge (squash) April 27, 2023 13:10
@problame problame removed request for a team, koivunej and save-buffer April 27, 2023 13:10
@github-actions
Copy link

Test results for 1251960:


debug build: 219 tests run: 209 passed, 0 failed, 10 (full report)


release build: 219 tests run: 209 passed, 0 failed, 10 (full report)


@problame problame merged commit 3be81dd into main Apr 27, 2023
@problame problame deleted the problame/fixup-4030 branch April 27, 2023 14:07
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 this pull request may close these issues.

3 participants