Skip to content

Rework reservation impls into an Ambiguous trait #90182

Open
@nikomatsakis

Description

@nikomatsakis

From this comment in #90104:

As a follow-up PR I would like to remove reservation impls and replace them with an (perma-unstable) Ambiguous trait. Then we could replace a reservation impl like

impl Foo for T
where
    T: Ambiguous,
{
}

We have to double check if this will work though!

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-negative_impls#![feature(negative_impls)]T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions