Repository navigation
cli: document the errors of public fallible functions in depcheck and module_bazel (part of #12395) - #14628
Conversation
|
Generated by Claude Code |
|
This PR changes only doc comments in //cli/depcheck and //cli/module_bazel, plus the generate snapshot fix. Generated by Claude Code |
|
Merge train: dropped, 🤖 Generated with Claude Code |
… module_bazel (part of #12395) Clears clippy::missing_errors_doc in //cli/depcheck (58 sites) and //cli/module_bazel (51 sites). Each public function that returns a Result gets a `# Errors` section, plus a one-line summary where it had no doc. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hz7pt5D3ebRnkfBrgN
…e (part of #12395) The lock registry test forbids Rust sources from stating manifest and lock names that docs/design/locks.md says to read from the registry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hxcqqAoDeuSr83mscS
afead36 to
bcbf717
Compare
|
Fixed: rebased onto main (7de68ac; the generate snapshot commit dropped as already upstream) and reworded the new doc summaries in Tested: 🤖 Generated with Claude Code |
|
At bcbf717, shards 0 and 2 still fail, but not because of this PR. The only new failure is Generated by Claude Code |
Part of #12395
Clears
clippy::missing_errors_doc(pedantic) in two //cli crates. Every public function that returns aResultgets a# Errorssection. Functions that had no doc also get a one-line summary.cmd_consistency,cmd_locks,cmd_usage,find_missing,find_unused,find_usagesand others).ModuleFilereaders and editors,identity::validate_*,load_with_includes,label_path,include_rel).Docs only. No code changes.
Measured with
--aspects=@rules_rust//rust:defs.bzl%rust_clippy_aspect --output_groups=clippy_checks --@rules_rust//rust/settings:clippy_flag=-Dclippy::missing_errors_docover//cli/depcheck/... //cli/module_bazel/...: 109 sites before, 0 after.Tested:
tools/dx test //cli/depcheck/... //cli/module_bazel/...passed://cli/depcheck:adopt_locks_test,//cli/depcheck:depcheck_bin_test,//cli/depcheck:depcheck_test,//cli/depcheck:repo_locks_test,//cli/module_bazel:dx_module_bazel_test(5/5).tools/dx check --applyon the 30 touched files: no findings.Generated by Claude Code