Skip to content

Conversation

@ShoyuVanilla
Copy link
Member

Fixes #21378

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 4, 2026
@ShoyuVanilla ShoyuVanilla force-pushed the missing-assoc-specialize branch from 9605129 to ee12c40 Compare January 4, 2026 17:16
|| def_map.is_unstable_feature_enabled(&sym::min_specialization)
{
missing.retain(|(assoc_name, assoc_item)| {
let AssocItem::Function(_) = assoc_item else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically the full specialization supports specialization of types as well (and also default impl), but I don't think we need to support that.

@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue Jan 4, 2026
Merged via the queue into rust-lang:master with commit 6a1246b Jan 4, 2026
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 4, 2026
@ShoyuVanilla ShoyuVanilla deleted the missing-assoc-specialize branch January 5, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False positive when using specialization feature and not implementing all items in trait

3 participants