-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-trait-systemArea: Trait systemArea: Trait systemB-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Approved by a merged RFC and implemented but not stabilized.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-marker_trait_attr`#![feature(marker_trait_attr)]``#![feature(marker_trait_attr)]`S-tracking-blockedStatus: This tracking issue is blocked on another tracking issueStatus: This tracking issue is blocked on another tracking issueS-tracking-needs-to-bakeStatus: The implementation is "complete" but it needs time to bake.Status: The implementation is "complete" but it needs time to bake.T-langRelevant to the language teamRelevant to the language teamT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.
Description
Tracking issue for rust-lang/rfcs#1268.
Status
- Initial implementation: Implement RFC 1268 "Allow overlapping implementations for marker traits" #41309
- Documentation
- Move to stabilize
- Stabilization PR
Known bugs
- cross-crate support lacking?
- broken interaction between marker traits, lifetimes, and caching #102360
History
- initial implementation Implement RFC 1268 "Allow overlapping implementations for marker traits" #41309
- Support an explicit annotation for marker traits #53693
Prior to stabilization
- Is it ok that adding items to a previously empty trait is a breaking change? Should we make declaring something a marker trait more explicit somehow? --> resolved by adding explicit
#[marker]
annotation, see Support an explicit annotation for marker traits #53693
Other notes
In #96766 we decided NOT to disable the orphan check for marker traits as part of this work (just the overlap check), which was a proposed extension.
Lokathor, timmclean, SamPruden, FlixCoder, SludgePhD and 2 morepetrochenkovstanislav-tkach, timmclean, Kixunil, TheLostLambda and Veetaha
Metadata
Metadata
Assignees
Labels
A-trait-systemArea: Trait systemArea: Trait systemB-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Approved by a merged RFC and implemented but not stabilized.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-marker_trait_attr`#![feature(marker_trait_attr)]``#![feature(marker_trait_attr)]`S-tracking-blockedStatus: This tracking issue is blocked on another tracking issueStatus: This tracking issue is blocked on another tracking issueS-tracking-needs-to-bakeStatus: The implementation is "complete" but it needs time to bake.Status: The implementation is "complete" but it needs time to bake.T-langRelevant to the language teamRelevant to the language teamT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.