Skip to content

Evolving trait hierarchies #393

@nikomatsakis

Description

@nikomatsakis
Metadata
Point of contact @cramertj
Team(s) compiler, lang, libs-api, types
Goal document 2025h2/evolving-traits

Summary

Unblock the evolution of key trait hierarchies:

  • Adding Receiver
    as a supertrait of Deref.
  • Allow the tower::Service trait to be split into a non-Sync supertrait and a
    Sync (thread-safe) subtrait.

The design should incorporate the feedback from the
Evolving trait hierarchies
language design meeting. The design should also set the stage for future changes to allow for
the more general case of splitting items out into supertraits.

Tasks and status

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions