Open
Description
Generalized negative impls were introduced in #68004. They were split out from "opt-in builtin traits" (#13231).
Work in progress
This issue was added in advance of #68004 landed so that I could reference it from within the code. It will be closed if we opt not to go this direction. A writeup of the general feature is available in this hackmd, but it will need to be turned into a proper RFC before this can truly advance.
Current plans
- Forbid conditional negative impls or negative impls for traits with more than one type parameter (forbid conditional, negative impls #79098)
- Forbid
!Drop
(negative impls ofDrop
)
Unresolved questions to be addressed through design process
Metadata
Metadata
Assignees
Labels
Area: Trait systemBlocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFC#![feature(negative_impls)]Status: The implementation is incomplete.Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.Relevant to the language team, which will review and decide on the PR/issue.This change is large or controversial enough that it should have an RFC accepted before doing it.