Repository navigation
fix/clippy: rust 1.99 lints - #3058
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3058 +/- ##
=======================================
Coverage 79.98% 79.98%
=======================================
Files 76 76
Lines 47372 47373 +1
=======================================
+ Hits 37892 37893 +1
Misses 9480 9480 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
drahnr
marked this pull request as ready for review
November 23, 2026 07:49
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for this Rust 1.99 Clippy test-code cleanup.
No open issues 🎉
What changed in this PR
Updates sccache’s test code to address Rust 1.99 Clippy lints, separating this cleanup from the broader TLS dependency work in #2325.
Changes:
- Uses square brackets for the
vec!invocation. - Explicitly handles the server’s uninhabited success value and reports startup errors with a descriptive panic.
| File | Description |
|---|---|
tests/system.rs |
Changes vec_from! to use vec![] syntax. |
tests/harness/mod.rs |
Replaces unwrap() with explicit matching on the server startup result. |
Review effort: Balanced
sylvestre
reviewed
Nov 23, 2026
drahnr
force-pushed
the
bernhard-clippy-1.99-fixes
branch
from
November 23, 2026 10:18
0ed86b1 to
d6d4a76
Compare
Collaborator
|
Thanks for your PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use
vec![]overvec!()match Result<Infallible, _>needs different handlingExtracted from #2325