-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Debug impls of ExtractIf have inconsistent trait bounds #137654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is time-sensitive for Rust 1.87 if we want to change any of the impls that were just stabilized in nightly. |
The ExtractIf types for Vec, LinkedList and HashSet have been stabilized in 1.87, which is still in nightly. The one for BTreeSet is still unstable. |
It sounds to me like it should in all cases be |
I agree. Just |
|
std::vec::ExtractIf
has:std::collections::linked_list::ExtractIf
has:std::collections::hash_set::ExtractIf
has:std::collections::btree_set::ExtractIf
has:Vec
LinkedList
HashSet
BTreeSet
T: Debug
F: Debug
F: FnMut
There should not need to be 4 different permutations for these 4 effectively-identical interfaces. We should be able to decide:
The text was updated successfully, but these errors were encountered: