Repository navigation
Conversation
Plan change 348: deny unwrap_used, allow_attributes_without_reason, dbg_macro, todo, unimplemented, print_stdout, print_stderr and string_add in the workspace lints, add a rustdoc check to verify-rust.sh, and fix every current hit crate by crate first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0127zo32rmpUfq5NcxHgFJN4
Owner
Author
|
The No fix exists yet. I can't re-run jobs from here. Generated by Claude Code |
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.
Requested by Mathias · project thread
Adds the change folder
openspec/changes/348-rust-lints-strict. This PR only holds the plan. Nothing undercrates/,Cargo.tomlorscripts/changes until the change is approved and run.What the change does
unwrap_used,allow_attributes_without_reason,dbg_macro,todo,unimplemented,print_stdout,print_stderrandstring_addin[workspace.lints.clippy], and setsallow-unwrap-in-tests = trueinclippy.toml.RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-depstoscripts/verify-rust.sh, between clippy and the tests.unwraps (4 in harnessessrc, the rest in test helpers), 19allow(dead_code)with no reason, 13String + &str, and 4 rustdoc warnings.Tasks
23 tasks: 1 clippy setting, 17 clippy fix tasks (one per crate), 3 rustdoc fixes, then the lint flip with the ADR amendment, then the verify script step.
osq lint
osq lint 348-rust-lints-strictreportsvalid. The warnings it leaves:cargo rustdoc, which the languages verify list doesn't know about.tests/rust-ci.test.tsalready does.After merging
osq approve 348Generated by Claude Code