Skip to content

[Specialization] Alternatve Minimal implementation: only allow whole-impl specialization, haskell style  #125295

Closed as not planned
@lolbinarycat

Description

Many of the difficulties #31844 has encountered come from dealing with things that happen when some but not all of a trait's items are overridden. I would argue that this is overkill for the common usecase of making blanket impls not conflict with more specific impls. this would also address the most common reason for people asking for negative type constraints.

Metadata

Assignees

No one assigned

    Labels

    A-specializationArea: Trait impl specializationC-discussionCategory: Discussion or questions that doesn't represent real issues.F-specialization`#![feature(specialization)]`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions