refactor(lading): drop expect_used quarantines and annotate bins#1901
Draft
goxberry wants to merge 1 commit into
Draft
Conversation
Annotate the lading bin entry points (lading, captool, payloadtool), drop the `#![allow(clippy::expect_used)]` quarantine from lib.rs and the three bin entrypoints, and annotate previously-masked production sites in process_tree, tcp_rr, and udp generators that the quarantine drop surfaces. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced May 23, 2026
Contributor
Author
This was referenced May 23, 2026
|
This was referenced May 23, 2026
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.

Summary
Final sub-PR of the lading-crate cleanup. Annotates the three bin entry points (
lading,captool,payloadtool), drops the four#![allow(clippy::expect_used)]quarantines, and annotates the previously-masked production sites ingenerator/{process_tree,tcp_rr,udp}that the quarantine drop surfaces.After this PR, the lading crate has no remaining crate-level
expect_usedquarantines — every.expect()is either covered by a fn-level#[expect]with a documented reason or has been mechanically converted to.unwrap_or_else(|| unreachable!(...))in an earlier sub-PR of this stack.Quarantines dropped:
New fn-level annotations:
Stacked on #1900. With this stack landed, the lading crate is ready for
clippy::expect_used = "deny"enforcement to be flipped on workspace-wide.Test plan