Add Sender diagnostic item for std::sync::mpsc::Sender#155669
Add Sender diagnostic item for std::sync::mpsc::Sender#155669rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Sender diagnostic item for std::sync::mpsc::Sender#155669Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Reminder, once the PR becomes ready for a review, use |
I wouldn't argue with that, but |
|
That sounds good to me. What kind of fallout does changing diagnostic item names cause for clippy? If that's going to be a pain wrt Receiver I might not do it tbh. |
|
Well I'm kind of confused now about how to proceed. I figured one could do that rename within this repository, but the clippy here doesn't seem to build, maybe due to ongoing compiler work. |
|
Hmm let's not bother with Receiver then, and just rename the diagnostic item to MspcSender. |
Similar to the existing `Receiver` item, it will be used in Clippy to detect uses of `is_disconnected` that are racy.
29e1cd1 to
70fe8a6
Compare
|
@rustbot ready |
|
@bors r+ rollup |
Rollup of 9 pull requests Successful merges: - #155684 (Generalize IO Traits for `Arc<T>` where `&T: IoTrait`) - #155081 (Move and clean up some ui test) - #155379 (Avoid query cycles in DataflowConstProp) - #155663 (Eliminate `CrateMetadataRef`.) - #155669 (Add `Sender` diagnostic item for `std::sync::mpsc::Sender`) - #155698 (Syntactically reject tuple index shorthands in struct patterns to fix a correctness regression) - #155703 (Remove myself as a maintainer of `wasm32-wasip1-threads`) - #155706 (Remove `AttributeLintKind` variants - part 7) - #155712 (Forbid `*-pass` and `*-fail` directives in tests/crashes)
Rollup of 9 pull requests Successful merges: - rust-lang/rust#155684 (Generalize IO Traits for `Arc<T>` where `&T: IoTrait`) - rust-lang/rust#155081 (Move and clean up some ui test) - rust-lang/rust#155379 (Avoid query cycles in DataflowConstProp) - rust-lang/rust#155663 (Eliminate `CrateMetadataRef`.) - rust-lang/rust#155669 (Add `Sender` diagnostic item for `std::sync::mpsc::Sender`) - rust-lang/rust#155698 (Syntactically reject tuple index shorthands in struct patterns to fix a correctness regression) - rust-lang/rust#155703 (Remove myself as a maintainer of `wasm32-wasip1-threads`) - rust-lang/rust#155706 (Remove `AttributeLintKind` variants - part 7) - rust-lang/rust#155712 (Forbid `*-pass` and `*-fail` directives in tests/crashes)
Similar to the existing
Receiveritem, it will be used in Clippy to detect uses ofis_disconnectedthat are racy.Tracking issue: #153668
Suggested: rust-lang/libs-team#748 (comment)